OFFSET
1,2
COMMENTS
Is this A144717 without the 2? - R. J. Mathar, Jul 24 2023
EXAMPLE
4*1+1=5 is prime => a(1)=1.
4*1*2+1=9 is not prime (omitted).
4*1*3+1=13 is prime => a(2)=3.
MATHEMATICA
k = 4; a = {}; Do[If[PrimeQ[k n + 1], k = k n; AppendTo[a, n]], {n, 1, 3000}]; a (* Artur Jasinski *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Sep 19 2008
EXTENSIONS
Definition corrected by Georg Fischer, Jun 18 2021
STATUS
approved