OFFSET
0,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..20 (calculated using Kim Walisch's primesum program)
Kim Walisch, Sum of the primes below x (primesum).
FORMULA
EXAMPLE
The first 7^1 primes add up to 58.
MATHEMATICA
t = {}; c = 1; k = 3; s = 2; Do[While[c < 7^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 *)
Table[Total[Prime[Range[7^n]]], {n, 0, 7}] (* The program generates the first 8 terms of the sequence. *) (* Harvey P. Dale, Jan 18 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jan 15 2006
EXTENSIONS
a(12) onwards from Amiram Eldar, Jul 01 2024
STATUS
approved