OFFSET
1,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[SelectFirst[Range[EulerPhi[n]], PowerMod[7, #, n]==1&], {n, 80}]/.(Missing["NotFound"]->0) (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 25 2019 *)
PROG
(Magma) [0] cat [Modorder(7, n): n in [2..100]]; // Vincenzo Librandi, Apr 01 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane and Amarnath Murthy, May 08 2002
STATUS
approved