OFFSET
0,2
COMMENTS
a(468) has 1000 decimal digits. - Michael De Vlieger, Jul 14 2017
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..467
FORMULA
a(n) = a(n-1) + 2^prime(n).
EXAMPLE
a(1) = 2^prime(1) = 2^2 = 4; a(2) = 4 + 2^prime(2) = 4 + 2^3 = 12.
MATHEMATICA
Table[Sum[2^Prime[k], {k, n}], {n, 0, 18}] (* Michael De Vlieger, Jul 14 2017 *)
PROG
(PARI) a(n) = sum(k=1, n, 2^prime(k)) \\ Michel Marcus, Jul 23 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Walter Carlini, Nov 17 2002
EXTENSIONS
More terms from R. J. Mathar, Aug 31 2007
STATUS
approved