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