OFFSET
0,1
EXAMPLE
a(5) = 30529 = 53*24^2 + 1 is the smallest prime of the form 53*k^2 + 1.
PROG
(PARI) lista(nn) = my(k, p=2); print1(p); for(n=1, nn, k=1; while(!isprime(p*k^2+1), k++); print1(", ", p=p*k^2+1)); \\ Jinyuan Wang, Aug 02 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
John L. Drost, Apr 04 2005
EXTENSIONS
a(15)-a(16) from Jinyuan Wang, Aug 02 2021
STATUS
approved