Good Integers: Theory and Applications
- Good integers are positive numbers that, for coprime integers a and b, satisfy the condition l divides a^k+b^k for some k, forming the basis of their study.
- The theory utilizes multiplicative orders, 2-adic valuations, and prime-power factorizations to classify classical, oddly-good, evenly-good, and (T,k)-good integers.
- Applications in coding theory include controlling cyclotomic classes and self-dual structures in cyclic and negacyclic codes, leading to explicit enumeration formulas.
Searching arXiv for recent and foundational papers on “good integers” to ground the article in the literature. Good integers are positive integers characterized by a divisibility condition in exponential sums. Fix nonzero coprime integers and . A positive integer is good with respect to if there exists such that . Since Moree’s 1997 introduction of the notion, the subject has developed into a number-theoretic theory organized by multiplicative orders, $2$-adic valuations, and prime-power factorization, and it now plays a substantial role in algebraic coding theory (Jitman, 27 Aug 2025). A later extension introduces -good integers, defined by divisibility in the subsequence , and recovers the classical, oddly-good, and evenly-good cases as specializations (Jitman et al., 27 May 2026).
1. Definition and foundational properties
For fixed coprime nonzero integers , the classical set of good integers is
0
The basic edge case is 1, which is always good. If 2, then 3; thus every prime divisor of a good integer is coprime to both 4 and 5 (Jitman, 27 Aug 2025).
Parity enters immediately. If 6 is even, then every good integer is odd; no even 7 is good. If 8 is odd, then 9 is good, and more generally
0
The literature also distinguishes two subclasses. A positive integer 1 is oddly-good if 2 for some odd 3, and evenly-good if 4 for some even 5. One has
6
and for 7, 8 cannot be both oddly-good and evenly-good (Jitman, 2016).
These definitions are stable under sign normalization. Replacing 9 by 0 does not change the set of divisors of 1, so membership questions may be treated with 2 without loss for the divisibility problem in the coprime setting (Jitman et al., 27 May 2026).
2. Order-theoretic characterization
The decisive local invariant is the multiplicative order. For an odd prime 3 and 4, the existence of 5 with 6 is equivalent to
7
equivalently to the statement that 8 is even. Order lifting at odd prime powers has the form
9
so the 0-adic valuation of the order is already determined at the prime level (Jitman, 27 Aug 2025).
For odd integers, the global criterion is Moree’s characterization. Let 1 be odd and define 2 modulo the relevant odd primes. Then
3
Thus the exact power of 4 dividing 5 must be the same positive integer for all odd primes dividing 6 (1804.01916).
Writing 7 with 8 odd yields the complete classification. If 9 is odd, then 0 iff one of the following holds: 1 If 2 is even, then 3 iff 4 and either 5, or 6 and there exists 7 such that 8 for every prime 9 (1804.01916).
This formulation separates the theory into two independent components: the odd part is governed by a uniform $2$0-adic order condition, while the $2$1-power part is governed by the explicit divisibility $2$2.
3. Oddly-good, evenly-good, and generalized subclasses
The subclasses $2$3 and $2$4 refine the order criterion. For odd $2$5,
$2$6
whereas
$2$7
Thus oddly-good integers correspond exactly to the case of one factor of $2$8 in each relevant order, while evenly-good integers require at least two (Prugsapitak et al., 2018).
A further generalization fixes $2$9. A positive integer 0 is 1-good if 2; similarly one defines 3-oddly-good and 4-evenly-good. If 5 are odd and 6, then
7
Let 8. Then 9 if 0, and
1
For 2, one has
3
so the higher 4-power levels are entirely oddly-good (Prugsapitak et al., 2018).
The 5-framework extends the theory again. For fixed integers 6 and 7, a positive integer 8 is 9-good with respect to 0 if
1
The corresponding set is denoted 2. The classical families are recovered by
3
At an odd prime power 4 with 5,
6
For odd 7, the global criterion requires a common value 8 of 9 across all primes 00, together with explicit congruence and divisibility conditions on 01. In the even case, assuming 02 are odd, one has 03 for all 04, and for 05,
06
4. Corrections, algorithms, and the non-coprime completion
The arithmetic theory underwent a significant correction in 2018. Two implications used in earlier papers were shown to be false. First,
07
is false; a counterexample is 08 modulo 09, for which 10 but 11. Second,
12
is false for odd composite 13 that are not prime powers; a counterexample is 14 modulo 15, since 16 but 17. The corrected criteria replace these false implications by explicit parity and order conditions prime-by-prime (1804.01916).
Algorithmic decision procedures follow directly from the corrected structure. In the classical coprime case, one writes 18, rejects immediately if 19 or 20, factors the odd part 21, computes 22 for each prime 23, and then applies the case distinction for 24 versus 25. In the 26-setting, an explicit algorithm decides whether a given integer 27 is 28-good with respect to 29 and, when it is, computes an exponent 30 such that
31
the method combines prime-power local tests, CRT aggregation, and the parity check at 32 (Jitman et al., 27 May 2026).
A later completion treats the non-coprime case 33. Write
34
and for 35 decompose
36
Define
37
Then, for 38, the following are equivalent: 39; there exists 40 with 41; and 42. Thus the non-coprime problem reduces to a coprime “core” plus a 43-adic threshold coming from 44 (Jitman, 17 Oct 2025).
This extension also identifies the full set of admissible exponents. If 45, then
46
where 47 and 48 when 49. Hence all admissible exponents form a single arithmetic progression truncated below by the threshold 50 (Jitman, 17 Oct 2025).
5. Applications in coding theory
Coding-theoretic applications are a principal reason for the sustained study of good integers. In abelian coding theory, good integers control when cyclotomic classes are self-paired under reciprocal symmetries. For a finite abelian group 51, a 52-cyclotomic class 53 is type I iff 54, and in the Hermitian setting a 55-cyclotomic class is type I′ iff 56. These identifications lead to formulas for the average Euclidean and Hermitian hull dimensions of abelian codes, and to explicit bounds in terms of the counts of type I and type I′ classes (Jitman, 2016).
Generalized 57-good integers govern self-dual negacyclic codes. Let
58
with 59, 60, 61 odd, and 62. Over 63, the reciprocity pattern of irreducible factors of 64 is controlled by 65. A Euclidean self-dual negacyclic code of length 66 over 67 exists iff 68 and
69
Under this condition, the number of such codes is
70
and otherwise 71. The Hermitian analogue over 72 satisfies the same existence condition and has enumeration
73
with value 74 when 75 (Prugsapitak et al., 2018).
The 76-generalization extends these ideas from Euclidean and Hermitian duality to Galois duality. Specializing to 77, the divisors of
78
control the reciprocal structure of 79 over 80. For a 81-cyclotomic class 82, the corresponding irreducible factor satisfies
83
so 84 is 85-self-reciprocal iff 86. The arithmetic bridge is that a class is of type 87 iff the relevant order belongs to 88. This yields a description and enumeration of Galois LCD cyclic codes, with the number of 89-LCD cyclic codes equal to
90
and it yields a characterization of Galois self-dual cyclic codes. Existence of a 91-self-dual cyclic code is equivalent to 92 and 93 being even (Jitman et al., 27 May 2026).
Across these applications, the same arithmetic data recur: multiplicative orders modulo prime powers, uniform 94-adic valuations, and the distinction between self-paired and paired cyclotomic factors.
6. Terminological scope and adjacent usages
The phrase “good integers” is not unique across current arXiv literature. In ergodic theory, a strictly increasing sequence 95 is called good if for every real 96 the limit
97
exists. By the Riesz representation theorem, this is equivalent to the existence of an asymptotic distribution modulo 98, and by the spectral theorem it is equivalent to 99-convergence of ergodic averages along 00 in every probability measure preserving system (Lesigne et al., 2022). This notion concerns sequences of times, not divisors of 01.
A related dynamical paper studies collections of sequences that are “good for liminf-02-recurrence,” meaning that for every measure-preserving system and every set 03 of positive measure,
04
There, “good” refers to recurrence and characteristic factors, again rather than the arithmetic divisibility problem (Li et al., 2020).
In pseudorandom number generation, the phrase appears in a third sense: “good integers” can denote multipliers 05 that have good performance with respect to the spectral test for congruential generators. The criterion there is a lattice figure of merit, not the existence of 06 with 07 (Steele et al., 2020).
For number theory and coding theory, however, the standard meaning remains the classical one: positive integers divisible by some term of the sequence 08, together with the refined families 09, 10, 11-good, and 12-good. Within that framework, the subject now comprises a corrected coprime theory, an explicit non-coprime completion, algorithmic tests, and a wide array of applications to Euclidean, Hermitian, and Galois dualities in algebraic coding theory (Jitman, 17 Oct 2025).