OFFSET
1,1
EXAMPLE
a(2)=3 as 3^2 == -1 (mod 2).
PROG
(PARI) for (n=1, 100, f=true; forprime(p=2, 1000, if (p^2%n==(n-1), print1(p", "); f=false; break)); if (f==true, print1(0", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Nov 21 2002
STATUS
approved