|
Search: id:A066039
|
|
|
| A066039 |
|
Largest prime less than or equal to the sum of first n primes (A007504). |
|
+0 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; listen)
|
|
|
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} ]
|
|
PROGRAM
|
(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: A019084 A103805 A066028 this_sequence A142341 A045357 A099357
Adjacent sequences: A066036 A066037 A066038 this_sequence A066040 A066041 A066042
|
|
KEYWORD
|
nonn,new
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 12 2001
|
|
|
Search completed in 0.002 seconds
|