The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A065867 Primes which are the sum of a prime number of consecutive primes. 3
5, 23, 31, 41, 53, 59, 67, 71, 83, 97, 101, 109, 131, 139, 173, 181, 197, 199, 211, 223, 233, 251, 263, 269, 271, 281, 311, 331, 349, 353, 373, 401, 421, 431, 439, 443, 449, 457, 463, 487, 491, 499, 503, 523, 563, 587, 593, 607, 617, 631, 647, 659, 661, 677 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
5 = 2 + 3.
23 = 5 + 7 + 11.
31 = 7 + 11 + 13.
41 = 11 + 13 + 17.
53 = 5 + 7 + 11 + 13 + 17.
MATHEMATICA
lst={}; Do[s=Prime[m]; k=1; Do[p=Prime[n]; s+=p; k++; If[PrimeQ[s]&&PrimeQ[k], If[s<=10837, AppendTo[lst, s]]], {n, m+1, 5*5!}], {m, 5*5!}]; lst=Take[Union@lst, 500] (* Vladimir Joseph Stephan Orlovsky, Sep 13 2009 *)
Module[{nn=60, prs}, prs=Prime[Range[nn]]; Take[Select[Union[ Flatten[ Table[ Total/@ Partition[prs, n, 1], {n, prs}]]], PrimeQ], nn]] (* Harvey P. Dale, Aug 12 2016 *)
CROSSREFS
Sequence in context: A163587 A038922 A019367 * A082283 A071199 A238195
KEYWORD
nonn
AUTHOR
Henry Bottomley, Dec 07 2001
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 May 27 21:52 EDT 2024. Contains 372882 sequences. (Running on oeis4.)