login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112527 a(1)=2; a(n)=smallest prime not less than the sum of all previous terms. 1
2, 2, 5, 11, 23, 43, 89, 179, 359, 719, 1433, 2879, 5749, 11497, 22993, 45989, 91997, 183971, 367949, 735901, 1471807, 2943599, 5887213, 11774429, 23548853, 47097697, 94195421, 188390809, 376781623, 753563269, 1507126519, 3014253049 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

See A070218: a(1)=2;a(n)=smallest prime greater than the sum of all previous terms.

MATHEMATICA

s={2}; ss=2; Do[a=If[PrimeQ[ss], ss, Prime[PrimePi[ss]+1]]; AppendTo[s, a]; AddTo[ss, a], {i, 35}]; A112527=s

CROSSREFS

Cf. A070218.

Cf. A064934. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 15 2008]

Sequence in context: A104080 A078405 A109278 * A049680 A153983 A058021

Adjacent sequences:  A112524 A112525 A112526 * A112528 A112529 A112530

KEYWORD

easy,nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Sep 10 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 14:07 EST 2012. Contains 205930 sequences.