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”).

A076873
Smallest prime not less than sum of first n primes.
2
2, 5, 11, 17, 29, 41, 59, 79, 101, 131, 163, 197, 239, 281, 331, 383, 443, 503, 569, 641, 719, 797, 877, 967, 1061, 1163, 1277, 1373, 1481, 1597, 1721, 1861, 1993, 2129, 2281, 2437, 2591, 2749, 2917, 3089, 3271, 3449, 3643, 3833, 4049, 4229, 4441, 4663
OFFSET
1,1
COMMENTS
a(n) = A007918(A007504(n)).
LINKS
EXAMPLE
n=5: 2+3+5+7+11 <= 29 = a(5).
MAPLE
P:= [seq(ithprime(i), i=1..100)]:
S:= ListTools:-PartialSums(P):
map(s -> nextprime(s-1), S); # Robert Israel, Jul 04 2019
MATHEMATICA
If[PrimeQ[#], #, NextPrime[#]]&/@Accumulate[Prime[Range[50]]] (* Harvey P. Dale, Feb 04 2011 *)
CROSSREFS
Sequence in context: A143509 A111166 A064337 * A089440 A354789 A228353
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 27 2002
STATUS
approved