OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..178
EXAMPLE
The order of 2 mod 601 is 25, which is a square, so 601 is a term.
PROG
(PARI)
{ forprime (p=3, 10^6,
r = znorder(Mod(2, p));
if ( issquare(r), print1(p, ", ") );
); }
(Magma) [NthPrime(n): n in [2..6275] | IsSquare(Modorder(2, NthPrime(n)))]; // Bruno Berselli, Jun 08 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Joerg Arndt, Jun 03 2012
STATUS
approved