OFFSET
1,3
MATHEMATICA
Table[SelectFirst[Range[EulerPhi[n]], PowerMod[5, #, n] == 1 &, 0], {n, 80}] (* Paul F. Marrero Romero, Oct 04 2024 *)
PROG
(Magma) [0] cat [Modorder(5, n): n in [2..100]]; // Vincenzo Librandi, Apr 01 2014
(Python)
from sympy import n_order
def A070677(n): return n_order(5, n) if n%5 and n>1 else 0 # Chai Wah Wu, Feb 23 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane and Amarnath Murthy, May 08 2002
STATUS
approved