OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
For n=4, prime(2n) = prime(8) = 19, and prime(n+1) = prime(5) = 11, so a(4) = 19 + 11 = 30. - Michael B. Porter, Aug 15 2016
MATHEMATICA
Table[Prime[2n] + Prime[n+1], {n, 1, 70}](* Terry D. Grant, Aug 15 2016 *)
PROG
(PARI) vector(70, n, prime(2*n) + prime(n+1)) \\ G. C. Greubel, May 18 2019
(Magma) [NthPrime(2*n) + NthPrime(n+1): n in [1..70]]; // G. C. Greubel, May 18 2019
(Sage) [nth_prime(2*n) + nth_prime(n+1) for n in (1..70)] # G. C. Greubel, May 18 2019
(GAP) List([1..70], n-> Primes[2*n] + Primes[n+1]) # G. C. Greubel, May 18 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 06 2006
STATUS
approved