OFFSET
1,1
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..93
PROG
(Python)
from sympy import isprime, prime
from itertools import count, islice
def agen(): # generator of terms
for n in count(1):
pn, fk = prime(n), 1
for k in range(1, pn+1):
if isprime(pn + fk): yield pn + fk
fk *= k
print(list(islice(agen(), 51))) # Michael S. Branicky, Apr 16 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Editors of OEIS, based on a suggestion from Hemjyoti Nath, Apr 16 2022
STATUS
approved