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!)
A013917 a(n) is prime and sum of all primes <= a(n) is prime. 12
2, 3, 7, 13, 37, 43, 281, 311, 503, 541, 557, 593, 619, 673, 683, 733, 743, 839, 881, 929, 953, 1061, 1163, 1213, 1249, 1277, 1283, 1307, 1321, 1949, 2029, 2161, 2203, 2213, 2237, 2243, 2297, 2357, 2393, 2411, 2957, 3137, 3251, 3257, 3301, 3413, 3461, 3491 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A000040(A013916(n)).
MATHEMATICA
Prime[Flatten[Position[Accumulate[Prime[Range[500]]], _?PrimeQ]]] (* Jayanta Basu, May 18 2013 *)
PROG
(PARI) isA013917(n) = isprime(n) && isprime(sum(i=2, n, isprime(i)*i)) \\ Michael B. Porter, Jan 29 2010
(PARI) list(lim)=my(v=List(), s); forprime(p=2, lim, if(isprime(s+=p), listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Oct 19 2021
CROSSREFS
Sequence in context: A123408 A033995 A345247 * A371181 A293994 A196419
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Renaud Lifchitz (100637.64(AT)CompuServe.COM)
EXTENSIONS
More terms from David W. Wilson
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 21 01:20 EDT 2024. Contains 372720 sequences. (Running on oeis4.)