OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
MATHEMATICA
MultiplicativeOrder[2, #] & /@ Select[Range[1, 10^5, 2], CompositeQ[#] && PowerMod[2, # - 1, #] == 1 &] (* Amiram Eldar, Jun 29 2019 *)
PROG
(PARI) forstep(n=3, 1e5, 2, my(m=znorder(Mod(2, n))); if((n-1)%m==0 && !isprime(n), print1(m, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Feb 13 2019
STATUS
approved