login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145065 a(n) = sum of primes <= n*10^9. 2
24739512092254535, 95673602693282040, 211169315361937456, 370412807102643725, 572840944428163514, 818062002011808625, 1105720106635140803, 1435543734762318281, 1807310307011831228, 2220822432581729238, 2675837181777714162, 3172247016440147644 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A336967 A338959 A338955 * A080127 A003941 A003934
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)