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!)

Revision History for A013916

(Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A013916 Numbers k such that the sum of the first k primes is prime.
(history; published version)
#57 by Charles R Greathouse IV at Thu Sep 08 08:44:38 EDT 2022
PROG

(MAGMAMagma) [n:n in [1..700] | IsPrime(&+PrimesUpTo(NthPrime(n))) ]; // Marius A. Burtea, Jan 04 2019

Discussion
Thu Sep 08 08:44
OEIS Server: https://oeis.org/edit/global/2944
#56 by Michel Marcus at Sun Feb 28 12:17:25 EST 2021
STATUS

reviewed

approved

#55 by Joerg Arndt at Sun Feb 28 11:04:10 EST 2021
STATUS

proposed

reviewed

#54 by Michael S. Branicky at Sun Feb 28 10:31:38 EST 2021
STATUS

editing

proposed

#53 by Michael S. Branicky at Sun Feb 28 10:31:36 EST 2021
PROG

(Python)

from sympy import isprime, prime

def aupto(lim):

s = 0

for k in range(1, lim+1):

s += prime(k)

if isprime(s): print(k, end=", ")

aupto(680) # Michael S. Branicky, Feb 28 2021

STATUS

reviewed

editing

#52 by Joerg Arndt at Sun Feb 28 10:13:40 EST 2021
STATUS

proposed

reviewed

#51 by Chun Lok Yiu at Sun Feb 28 08:31:41 EST 2021
STATUS

editing

proposed

Discussion
Sun Feb 28 10:13
Joerg Arndt: Thanks!
#50 by Chun Lok Yiu at Sun Feb 28 08:31:11 EST 2021
EXAMPLE

6 is a term because the sum of the first six primes 2 + 3 + 5 + 7 + 11 + 13 = 3141 is prime.

STATUS

approved

editing

Discussion
Sun Feb 28 08:31
Chun Lok Yiu: Fixed typo.
#49 by Jon E. Schoenfield at Tue Feb 19 16:02:25 EST 2019
STATUS

editing

approved

#48 by Jon E. Schoenfield at Tue Feb 19 16:02:21 EST 2019
NAME

Numbers nk such that the sum of the first nk primes is prime.

FORMULA

a(n) = A000720(A013917(n)))).

EXAMPLE

6 is a term because the sum of the six first six primes 2 + 3 + 5 + 7 + 11 + 13 = 31 is prime.

STATUS

approved

editing

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 July 22 12:12 EDT 2024. Contains 374499 sequences. (Running on oeis4.)