login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A076793
a(n) = Sum_{k=1..n} 2^prime(k).
9
0, 4, 12, 44, 172, 2220, 10412, 141484, 665772, 9054380, 545925292, 2693408940, 140132362412, 2339155617964, 11135248640172, 151872736995500, 9159071991736492, 585619824295159980, 2891462833508853932, 150465415423185266860, 2511648656858007873708
OFFSET
0,2
COMMENTS
a(468) has 1000 decimal digits. - Michael De Vlieger, Jul 14 2017
LINKS
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
Partial sums of A034785.
Sequence in context: A055542 A149365 A000759 * A007860 A226855 A039740
KEYWORD
easy,nonn
AUTHOR
Walter Carlini, Nov 17 2002
EXTENSIONS
More terms from R. J. Mathar, Aug 31 2007
STATUS
approved