OFFSET
1,2
COMMENTS
LINKS
P. Underwood, 4.X Selfridge Conjecture (on "Prime Pages" profile), Jan 2012.
PROG
(PARI) a(n)={n=prime(n); for(y=1, 1e7, kronecker(y^2-4, n)==-1 | next;
Mod(x+Mod(2, n), x^2-y*x+1)^(n+1)==5+2*y | next; Mod(x+Mod(2, n), x^2+y*x+1)^(n+1)==5-2*y & return(y))}
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jan 28 2012
STATUS
approved