login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A053872
Primes arising in A053782.
3
37, 199, 277, 367, 997, 1049, 1103, 1451, 1709, 1777, 2137, 2213, 2953, 3041, 3407, 3889, 3989, 4091, 5309, 7193, 7883, 11113, 13757, 15083, 16073, 17093, 28643, 28909, 30259, 32203, 35089, 35977, 40879, 42157, 43451, 43777, 48119, 51949
OFFSET
1,1
MATHEMATICA
s=0; lst={}; Do[If[PrimeQ[n], NULL, s+=n; If[PrimeQ[s], AppendTo[lst, s]]], {n, 2, 7!}]; lst (* Vladimir Joseph Stephan Orlovsky, Feb 01 2009 *)
PROG
(Python)
from python import isprime
A053872_list, n, m, s = [], 1, 4, 4
while len(A053872_list) < 10000:
if isprime(s):
A053872_list.append(s)
m += 1
if isprime(m):
m += 1
n += 1
s += m # Chai Wah Wu, May 13 2018
(PARI) lista(nn) = {my(s = 0); forcomposite(c=1, nn, s += c; if (isprime(s), print1(s, ", ")); ); } \\ Michel Marcus, May 13 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
G. L. Honaker, Jr., Mar 30 2000
EXTENSIONS
More terms from Reiner Martin, Jul 17 2001
STATUS
approved