OFFSET
1,8
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
EXAMPLE
a(8) = 3 since 3^2+8 = 17 which is prime.
PROG
(PARI) A056898(n) = { my(m=0); while(!isprime((m*m)+n), m++); (m); }; \\ Antti Karttunen, Mar 04 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jul 05 2000
STATUS
approved