OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..400
Eric Weisstein's World of Mathematics, Multiplicative Order.
Wikipedia, Multiplicative order.
EXAMPLE
3757261 is a term since the multiplicative orders of 2 modulo 3757261, 3757263 and 3757265 are all equal to 250484.
MATHEMATICA
f[n_] := MultiplicativeOrder[2, n]; f1 = f[1]; f2 = f[3]; seq = {}; Do[f3 = f[n]; If[f1 == f2 && f2 == f3, AppendTo[seq, n - 4]]; f1 = f2; f2 = f3, {n, 5, 10^8, 2}]; seq
CROSSREFS
KEYWORD
nonn
AUTHOR
_Amiram Eldar_, Apr 03 2020
STATUS
approved