OFFSET
0,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..22 (calculated using Kim Walisch's primesum program)
Kim Walisch, Sum of the primes below x (primesum).
FORMULA
a(n) = A007504(6^n).
EXAMPLE
The first 6^1 primes add up to 41.
MATHEMATICA
t = {}; c = 1; k = 3; s = 2; Do[While[c < 6^n, If[PrimeQ@k, c++; s += k]; k += 2]; Print@s; AppendTo[t, s], {n, 0, 9}]; t (* Robert G. Wilson v, Jan 17 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jan 15 2006
EXTENSIONS
a(13)-a(16) from Amiram Eldar, Jul 01 2024
STATUS
approved