login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036439 a(n) = a(n-1) + prime(n-1), with a(1)=2. 5
2, 4, 7, 12, 19, 30, 43, 60, 79, 102, 131, 162, 199, 240, 283, 330, 383, 442, 503, 570, 641, 714, 793, 876, 965, 1062, 1163, 1266, 1373, 1482, 1595, 1722, 1853, 1990, 2129, 2278, 2429, 2586, 2749, 2916, 3089, 3268, 3449, 3640, 3833, 4030, 4229, 4440, 4663 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Old name was "a(n) = 2 + the sum of the first n-1 prime numbers".
LINKS
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
A014284(n) + 1.
Sequence in context: A153252 A079719 A300829 * A175965 A288341 A347542
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 17:10 EDT 2024. Contains 371962 sequences. (Running on oeis4.)