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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066039 Largest prime less than or equal to the sum of first n primes (A007504). 1
2, 5, 7, 17, 23, 41, 53, 73, 97, 127, 157, 197, 233, 281, 317, 379, 439, 499, 563, 631, 709, 787, 863, 953, 1051, 1153, 1259, 1367, 1471, 1583, 1709, 1847, 1987, 2113, 2273, 2423, 2579, 2741, 2909, 3083, 3259, 3433, 3637, 3823, 4027, 4219, 4423, 4657 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,1000

EXAMPLE

a(3) = 7 because 7 is the first prime <= 10 = 2+3+5. a(4) = 17 because 17 is a prime and is equal to 2+3+5+7.

MATHEMATICA

Table[ PrevPrim[ Sum[ Prime[i], {i, 1, n}] + 1], {n, 1, 60} ]

PROG

(PARI) { s=0; for (n=1, 1000, s+=prime(n); a=precprime(s); write("b066039.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Nov 08 2009]

CROSSREFS

Sequence in context: A176676 A103805 A066028 * A142341 A045357 A168035

Adjacent sequences:  A066036 A066037 A066038 * A066040 A066041 A066042

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 12 2001

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 17 23:58 EST 2012. Contains 206085 sequences.