OFFSET
1,2
COMMENTS
For a rational prime number p, a "p-practical number" is a number m such that the polynomial x^m - 1 has a divisor of every degree <= m in F_p[x], the prime field of order p.
A number m is 5-practical if and only if every number 1 <= k <= m can be written as Sum_{d|m} A007736(d) * n_d, where A007736(d) is the multiplicative order of 5 modulo the largest divisor of d not divisible by 5, and 0 <= n_d <= phi(d)/A007736(d).
The number of terms not exceeding 10^k for k = 1, 2, ... are 7, 46, 286, 2179, 16847, 141446, 1223577, ...
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Paul Pollack and Lola Thompson, On the degrees of divisors of T^n-1>, New York Journal of Mathematics, Vo. 19 (2013), pp. 91-116, preprint, arXiv:1206.2084 [math.NT], 2012.
Lola Thompson, Products of distinct cyclotomic polynomials, Ph.D. thesis, Dartmouth College, 2012.
Lola Thompson, On the divisors of x^n - 1 in F_p[x], International Journal of Number Theory, Vol. 9, No. 2 (2013), pp. 421-430.
Lola Thompson, Variations on a question concerning the degrees of divisors of x^n - 1, Journal de Théorie des Nombres de Bordeaux, Vol. 26, No. 1 (2014), pp. 253-267.
Eric Weisstein's World of Mathematics, Finite Field.
Wikipedia, Finite field.
MATHEMATICA
rep[v_, c_] := Flatten @ Table[ConstantArray[v[[i]], {c[[i]]}], {i, Length[c]}]; mo[n_, p_] := MultiplicativeOrder[p, n/p^IntegerExponent[n, p]]; ppQ[n_, p_] := Module[{d = Divisors[n]}, m = mo[#, p] & /@ d; ns = EulerPhi[d]/m; r = rep[m, ns]; Min @ Rest @ CoefficientList[Series[Product[1 + x^r[[i]], {i, Length[r]}], {x, 0, n}], x] > 0]; Select[Range[200], ppQ[#, 5] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Jul 23 2020
STATUS
approved