|
|
A161463
|
|
Sum of all primes from n-th prime to (2*n-1)-th prime.
|
|
3
|
|
|
2, 8, 23, 48, 83, 132, 197, 270, 363, 468, 583, 714, 863, 1026, 1199, 1392, 1607, 1836, 2083, 2346, 2627, 2926, 3237, 3564, 3925, 4290, 4669, 5074, 5499, 5938, 6389, 6862, 7355, 7866, 8411, 8964, 9539, 10134, 10743, 11374, 12029, 12702, 13393, 14094
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Sum of next n primes starting with the n-th prime.
For sum of next n primes starting with the (T(n) + 1)-th prime, or A000124(n)-th prime = A078721(n), {T(n)=A000217(n)}, see A007468(n). (End)
74 of the first 1000 terms of this sequence are primes and each occurs at an odd index. - Harvey P. Dale, Jan 12 2014
|
|
LINKS
|
|
|
EXAMPLE
|
Sum of 3rd prime to 5th prime = 5+7+11, hence a(3) = 23; sum of 4th prime to 7th prime = 7+11+13+17, hence a(4) = 48.
|
|
MATHEMATICA
|
nn=100; With[{prs=Prime[Range[nn]]}, Table[Total[Take[prs, {n, 2n-1}]], {n, Floor[(nn+1)/2]}]] (* Harvey P. Dale, Jan 12 2014 *)
|
|
PROG
|
(Magma) [ &+[ NthPrime(k): k in [n..2*n-1] ]: n in [1..44] ]; // Klaus Brockhaus, Jun 12 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|