OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Join[{1}, Select[Range[700], PowerMod[5, #, #]==1&]] (* Harvey P. Dale, Feb 25 2015 *)
PROG
(PARI) is(n)=Mod(5, n)^n==1 \\ Charles R Greathouse IV, Nov 04 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Mar 05 2002
STATUS
approved