The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A130739 Sum of primes < 2^n. 6
0, 5, 17, 41, 160, 501, 1720, 6081, 22548, 80189, 289176, 1070091, 3908641, 14584641, 54056763, 202288087, 761593692, 2867816043, 10862883985, 41162256126, 156592635694, 596946687124, 2280311678414, 8729068693022 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Kim Walisch, Table of n, a(n) for n = 1..80 (terms n=1..42 from Cino Hilliard)
Kim Walisch, primesum program.
FORMULA
a(n) = Sum_{i=2..2^n-1} A061397(i).
EXAMPLE
a(3) is 17 because the sum of primes less than 2^3 is 2+3+5+7=17.
MATHEMATICA
Table[Sum[Prime[i], {i, PrimePi[2^n-1]}], {n, 1, 10}]
PROG
(PARI) a(n) = {s = 0; forprime(p=2, 2^n-1, s +=p); return (s); } \\ Michel Marcus, Jul 17 2013
CROSSREFS
Sequence in context: A246636 A146794 A146834 * A147412 A273116 A273945
KEYWORD
nonn
AUTHOR
Graeme McRae, Jul 06 2007
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 May 15 13:23 EDT 2024. Contains 372540 sequences. (Running on oeis4.)