OFFSET
1,1
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..25 .
FORMULA
a(n) = A179660(10*n). - R. J. Mathar, Aug 05 2010
EXAMPLE
a(1) = 2 + 3 + 5 + ... + 999999937 = 24739512092254535.
MATHEMATICA
k = 1; p = 2; s = 0; lst = {}; While[k < 10, While[p < 10^9*k, s = s + p; p = NextPrime@p]; k++; AppendTo[lst, s]; Print[{k - 1, s}]] (* Robert G. Wilson v, Jul 23 2010 *)
PROG
(PARI) A145065(n)=my(s=0); forprime(p=2, n*1e9, s+=p); s
CROSSREFS
KEYWORD
nonn
AUTHOR
Jacques Tramu, Feb 20 2009
EXTENSIONS
Extended by Charles R Greathouse IV, Jul 24 2009
Edited by N. J. A. Sloane, Jul 27 2010
STATUS
approved