OFFSET
1,2
COMMENTS
It appears that the definition should include the condition that the sequence is strictly increasing - true? - N. J. A. Sloane, Jan 27 2019
a(390) has 1002 digits. - Michael S. Branicky, Dec 21 2023
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..389 (terms 1..33 from Charlie Neder)
PROG
(Python)
from gmpy2 import is_prime
from itertools import count, islice
def agen(): # generator of terms
c, b = 1, 7
yield from [c, b]
for n in count(3):
a = next(c + b*i for i in count(1) if is_prime(c+b*i))
c, b = b, a
yield a
print(list(islice(agen(), 21))) # Michael S. Branicky, Dec 21 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Mar 04 2010
EXTENSIONS
a(12)-a(20) from Charlie Neder, Jan 25 2019
Name corrected per N. J. A. Sloane's comment by Michael S. Branicky, Dec 21 2023
STATUS
approved