[go: up one dir, main page]

login
A211241
Order of 5 mod n-th prime: least k such that prime(n) divides 5^k-1.
16
1, 2, 0, 6, 5, 4, 16, 9, 22, 14, 3, 36, 20, 42, 46, 52, 29, 30, 22, 5, 72, 39, 82, 44, 96, 25, 102, 106, 27, 112, 42, 65, 136, 69, 37, 75, 156, 54, 166, 172, 89, 15, 19, 192, 196, 33, 35, 222, 226, 114, 232, 119, 40, 25, 256, 262, 67, 27, 276, 140, 282, 292
OFFSET
1,2
LINKS
Alexandre Zalesski, Unisingular subgroups of symplectic group Sp_2n(2) for 2n < 250, arXiv:2401.16075 [math.GR], 2024. See p. 52.
MATHEMATICA
nn = 5; Table[If[Mod[nn, p] == 0, 0, MultiplicativeOrder[nn, p]], {p, Prime[Range[100]]}]
PROG
(GAP) A000040:=Filtered([1..350], IsPrime);;
List([1..Length(A000040)], n->OrderMod(5, A000040[n])); # Muniru A Asiru, Feb 06 2019
(PARI) a(n, {base=5}) = my(p=prime(n)); if(base%p, znorder(Mod(base, p)), 0) \\ Jianing Song, May 13 2024
CROSSREFS
Cf. A019335 (full reptend primes in base 5).
Sequence in context: A100711 A199464 A189961 * A140247 A271170 A111520
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, Apr 11 2012
STATUS
approved