OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Francesco Pappalardi, Square free values of the order function, New York J. Math., Vol. 9 (2003), pp. 331-344.
FORMULA
The number of terms not exceeding x is (a + o(1))* x * log(x)^(b-1), where a and b (~ 0.46437) are constants (Pappalardi, 2003).
EXAMPLE
3 is a term since the multiplicative order of 2 modulo 3 is 2 which is squarefree.
MATHEMATICA
Select[2 * Range[160] - 1, SquareFreeQ[MultiplicativeOrder[2, #]] &]
PROG
(PARI) isok(k) = (k % 2) && issquarefree(znorder(Mod(2, k))); \\ Michel Marcus, Jul 29 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Jul 28 2020
STATUS
approved