OFFSET
1,1
COMMENTS
Old name was "a(n) = 2 + the sum of the first n-1 prime numbers".
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
nxt[{n_, a_}]:={n+1, a+Prime[n]}; NestList[nxt, {1, 2}, 50][[All, 2]] (* Harvey P. Dale, Sep 21 2016 *)
PROG
(PARI) a(n) = 2 + sum(i=1, n-1, prime(i)); \\ Michel Marcus, Aug 12 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Pavel Bubak (pbub6070(AT)beta.ms.mff.cuni.cz)
EXTENSIONS
More terms from James A. Sellers, Feb 06 2000
Offset changed and definition improved from Bruno Berselli, Jul 30 2013
STATUS
approved