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
KEYWORD
nonn
AUTHOR
Graeme McRae, Jul 06 2007
STATUS
approved