WorksMathematics
Subset sums of power values over Galois rings
Abstract
Let , where is prime, , , and . We count -element subsets of , the set of distinct nonzero th-power values, with a prescribed sum. For fixed with , the count equals as through admissible prime powers, uniformly over all targets and with both and allowed to vary. For fixed , we also classify uniform relative equidistribution at the remaining positive sizes: it fails at , and at it holds along an admissible sequence if and only if, for all sufficiently large terms, and .
Introduction
Let , where is prime, , , and . We use and call the length of . Put and . For and an integer , put
Distinctness is imposed on the power values themselves, including any nonzero nonunit power values.
Write for the index of in . A prime power is admissible when . For fixed and positive , uniform relative equidistribution along an admissible sequence means that
uniformly over . Relative normalisation is restricted to , which holds eventually for fixed positive .
The finite-field antecedents include Li and Wan’s exact count over nonzero field elements [6 Theorem 1.2] and Zhu and Wan’s subgroup estimates [11 Theorems 4.1 and 4.4], whose cycle weights give the corresponding fixed-size field rates, including characteristic two. Exact quadratic-residue counts in odd characteristic appear in Weiqiong Wang, Li-Ping Wang and Haiyan Zhou [10 Theorems 5.1 and 5.2]. Weiqiong Wang and Jennifer Nguyen [9 Theorem 3.1] and Hyok Choe and Chunghyok Choe [1 Theorem 3.1] give small-size all-target subgroup positivity criteria in odd and binary characteristic, respectively, under explicit field-size and index hypotheses.
At length two in odd characteristic, Ding and Zhou’s results [2 Theorem 6.1] and [3 Theorem 5.11 and Corollary 5.12] cover the same distinct nonzero power-value set, with main term . Their combined exact formulas give the same coefficient majorant and all-target fixed-size upper rates for and for , including . In particular, the bound for implies uniform relative equidistribution when . These are extracted consequences of exact formulas, distinct from printed compressed estimates or separately stated rate theorems. Appendix A gives the comparison and the qualified target scope of the retained 2019 derivation.
The counting background comprises the weighted distinct-coordinate sieve and cycle-index formulas [7 Theorem 2.6, Proposition 2.8 and Lemma 4.1], and the character-product method [5 Lemma 2.5]. Our signed character-and-cycle identity specialises Li and Wan’s general finite-ring formula [8 Lemma 3.1].
Main results. For fixed with , Theorem 7 gives
uniformly over every , as along any admissible sequence. The prime , extension degree and pointwise index may all vary. For fixed , and a fixed positive size , the complete classification of uniform relative equidistribution over every target along any admissible sequence is given by Theorem 9:
At , uniform relative equidistribution always fails.
At every , it always holds.
At , it holds if and only if, eventually, both .
The successful pair cases have relative error .
Theorem 7 also provides explicit finite bounds, sharper estimates when , and sufficient conditions ensuring positivity for every target. Proposition 5 determines the order of an explicit nonnegative majorant for the relative error, while Proposition 8 establishes the necessity of the conditions in the classification through obstructions arising from the actual subset-sum counts.
Relative to the length-two results, the present scope includes arbitrary fixed length and admissible binary rings, with all permitted nonzero power values. Their possible valuations are . Nonunit layers occur when .
We resolve the power-value character sums by conductor, the least for which an additive character depends only on the residue class modulo . The resulting bounds lead to the finite counting inequality, from which we obtain the uniform error estimates by estimating the cycle coefficients. We then complete the classification using exact counts for and . Appendix B recalls Li and Wan’s exact field count and derives its relative-error normalisation and fixed-size expansion.
Notation and conventions
Throughout the paper, is a prime. Let
Fix the residue-field identification . For , put
Write
Write for the additive character group of . For , define its conductor by
The trivial additive character is denoted by , and precisely when . Sums over empty index sets are zero. We write for the indicator of a condition and for the -adic valuation of a positive integer .
Power values and exact character sums
The Fourier count requires power-value character sums resolved by conductor. We first decompose the value set by valuation, then calculate the layer sums and the effect of integer multiplication.
The complete fibres of over determine the layer sums. For , the map is given by multiplication by and sends units to elements of valuation exactly . The following proposition also accounts for the changes in conductor and induced field character that can arise from integer multiplication.
Proposition 1 (Power values and exact character sums). For , the map
is a well-defined isomorphism of -modules. Interpret as the image . Then
If , define
where is any lift of . This is independent of the lift and is a nontrivial additive character of . Put
The exact layer sums are
To express the sum over all valuation layers, put
Then, for , we have
Let have conductor , and let be an integer. Write , with and , and let be its residue. For , one has
If , then
Consequently the complete twisted sum is
In the second branch , so is defined. The number of additive characters of each conductor is
Proof. Since is a free module of rank over , we have
The annihilator identity makes (1) well-defined and injective. Surjectivity and -linearity follow from multiplication by . At this is the canonical identification .
We also have . The kernel of is the finite abelian -group , of order . Since , the th-power map is an automorphism of this kernel.
If has residue in , choose whose residue is a th root of the residue of . Then is a th power, so is also a th power. The converse follows by reduction. Thus is the full inverse image of . Since is cyclic, its th-power map has kernel of size , so
Every nonzero can be written with a unit. Its th power is nonzero exactly when , and then has valuation . Hence belongs to . Conversely, if , choose a unit lift . Then
The different images in (2) have different valuations. This proves the disjoint decomposition and its cardinality.
Let . Two lifts differ by , so multiplication by puts their difference in , on which is trivial. Thus (3) is lift-independent. It defines an additive character of because is additive, and it is nontrivial because is nontrivial on .
For , choose lifts of . Since is the full inverse image of , we have
Hence the character sum over this layer is
If , the character is trivial on the entire layer, giving . If , the inner sum is and , giving . If , the restriction of to is nontrivial, since otherwise its conductor would be at most . The inner sum therefore vanishes by character orthogonality.
The layers with contribute in total. A boundary layer exists precisely when , and its index is . For this index automatically lies between and . Summing the three cases proves the positive-conductor branch of (4). For conductor zero the character is trivial on , so directly.
For the twist, the image of the integer is a unit. If , then , so . If , the character is trivial on and is nontrivial on , because
This proves (5), including . In the positive case, if lifts , then
since lifts . Formula (7) follows by applying (4) to .
Finally, for , characters of conductor at most factor through , whose additive group has characters. Subtracting the characters of conductor at most proves (8). Conductor zero consists of the unique trivial character.
Finite-field estimate and uniform conductor bounds
Gauss sums bound the remaining finite-field subgroup sums. Substitution into the exact layer formula gives nonnegative conductor bounds for all integer-multiplication twists.
The finite-field estimate
The finite-field estimate. Let denote the trivial multiplicative character of , and set
Here the hat denotes the multiplicative character group. We use the classical Gauss sum identities of [2 Lemma 2.5(i), p. 153] and [4 Lemma 4.1(i)–(iv), p. 381]. The latter applies to finite fields of arbitrary characteristic and extension degree.
Lemma 2 (Subgroup detector and uniform bound). For ,
For every nontrivial additive character of ,
Proof. Choose a generator of . Then . If , then
For , the right-hand side of (10) is
In particular, the detector contains exactly characters, including once. Orthogonality gives all three trivial-character cases:
For nontrivial , character values have modulus one and the substitution gives
The inner sum is at and otherwise, while . Inserting (10) now yields
The triangle inequality proves (11), uniformly over all nontrivial additive characters. The contribution remains when , in which case and .
Uniform conductor bounds
Define
These numbers are nonnegative. By (4) and Lemma 2,
The boundary factor counts residue lifts. For , put
For , applying the bound to gives
If , the induced character in (6) is nontrivial because multiplication by is a bijection of . If , the twist is trivial and . These terms remain in the majorant even when the original character is nontrivial.
Field and unit-only specialisations. For , one has , and . Appendix B treats , and the general estimates and pair obstruction cover the remaining indices. If , then and consists only of power units, with , and for . The indices still permit lower-conductor or trivial twists of high-conductor characters.
Subset counting and the finite error inequality
Fourier inversion separates the average count as the trivial-character contribution. The twisted-sum bounds control the remaining coefficients.
Set
Write for the coefficient of in a formal power series. The empty subset has sum zero, and we use for . Expanding the product gives the fixed-cardinality identity
The cycle form of the distinct-coordinate sieve groups tuples by identifying coordinates. A cycle of length uses one value in positions, producing the character weight and hence the sum . For a character of conductor , the nonnegative coefficient below bounds by replacing these twisted sums with . For and an integer , define
For , the signed coefficient identity below is the generating-function form of Li and Wan’s finite-ring sieve [8 Lemma 3.1 and its proof, pp. 8–9]. We derive the coefficient majorant directly from and (13).
Theorem 3 (Conductor-grouped error inequality). For every and integer ,
Proof. The additive group of is , so
the coordinate sums are finite geometric series. Apply this to and use (14). Interchanging finite sums yields exact Fourier inversion:
For the trivial character, , so its contribution is .
Work in . Since , the formal logarithm gives
Truncating at degree gives
Put . If , expansion of the exponential in (18) expresses its degree- coefficient as
Taking termwise absolute values and applying (13) bounds this coefficient by in modulus:
For , the exponent is an empty sum and both sides are one. All divisions by take place in .
Subtract the trivial-character contribution from (17). All character values have modulus one. The triangle inequality and (19), followed by grouping the nontrivial characters according to (8), give
For , the subset count and the product coefficient vanish, as does . The nonnegative majorant continues to give a valid inequality. □
Relative normalisation and size comparisons
To extract fixed-size asymptotics from the finite inequality, we compare the binomial denominator and the cycle contributions uniformly.
For , define the uniform relative error and its nonnegative majorant by
Dividing (16) by the positive main term gives . The majorant may overestimate the error by discarding cancellation between Fourier terms.
Throughout the asymptotic analysis, are fixed positive integers with , and through admissible prime powers. Both and may vary, as may , with .
Lemma 4. For every admissible ,
The implied constant can be chosen absolute for and . For ,
If , the stronger comparison holds. If , then and
Proof. Write . Formula (2) becomes
The first summand gives the lower bound. The geometric comparison gives
The remaining terms after the first are , uniformly under , proving the asymptotic comparison. If , the same argument gives . Otherwise . Since , (12) gives the first bound on . For , , giving the stronger one. Finally and imply . Each of the factors in the falling factorial is at least , proving (22). □
Let
Expanding the exponential in (15) gives the finite identity
A factor with is understood to be one, including when . Here records cycles of length . A cycle with uses the full value .
When and , every with equals . In this regime,
The identity follows from the formal differential equation for and holds for every nonnegative real , including .
In the field case , the positive-conductor coefficient in (23) is the cycle coefficient retained in Zhu and Wan’s subgroup estimates [11 proofs of Theorems 4.1 and 4.4].
The exact order of the nonnegative majorant
We determine the order of by comparing the powers of in (23). We first identify the exponent for which whenever . Define and, for , define
Thus exactly when . For finite values, Lemma 4 and the first surviving term give, uniformly in , , ,
For a boundary index, its possible full-layer term begins at valuation , so it has strictly smaller order than its boundary term. For , the leading boundary coefficient is at least .
A pair is called supported when every with has finite . Only supported patterns contribute to the majorant. For such pairs put
After including the conductor multiplicity and normalising by , the exponent is
Every sum involving the weights of a supported partition is taken only over indices with .
Proposition 5. Fix , and . The minimum supported gap is
Moreover,
The comparison constants are uniform in all admissible , , for sufficiently large . The exponent is evaluated pointwise when the residue characteristic or subgroup index varies. The comparison concerns . Its implication for is the upper bound .
Proof. First suppose . At every positive index with finite , we have , and . For a used length ,
For a used length , all finite are nonnegative, so
where the last difference is . Summing over a supported partition gives
Conductor and attain equality because .
Suppose next and . Then for all finite indices, including . Write . The elementary inequality follows from and . If , then
since . If , then , and , which gives the same inequality. Thus
Conductor one with all singleton cycles attains equality, since .
Finally, if , , only occurs and
Therefore
There are at most cycles with lengths divisible by . This number is attained by that many -cycles and the remaining singleton cycles. This proves (27).
By (25), , Lemma 4 and (23), each normalised supported summand is comparable to , with constants depending only on . There are finitely many terms and all are nonnegative. The attaining terms above therefore give (28). Uniformity in follows from these estimates and the finitely many valuation patterns of . □
Remark 6 (Dominant contributions). When and , the conductor-one singleton contribution is
This estimate is uniform over . All supported terms with conductor have a strictly larger gap: in (29), either gives strictness, or a single cycle of length gives strictness in the last inequality for . For , every nonsingleton cycle has strict slack unless . In that exceptional regime every partition into cycles of lengths one and two attains the same gap .
For , the dominant power is obtained by maximising the number of -divisible cycles.
Uniform relative-error theorem and positivity
The preceding gap calculation determines the order of the majorant in . Summing the cycle weights now gives an explicit relative-error bound and sufficient conditions for positivity at every target.
Theorem 7 (Uniform fixed-size estimates). Let be fixed, with , and . For an admissible satisfying , put
Then and
where is (27). In particular, for every fixed and every admissible sequence ,
An explicit constant in (31) is , valid once . When , the stronger rate is , and when , it is , uniformly in the residue characteristic.
Whenever the hypotheses of (30) hold and , every count is positive. For the universal statement, sufficient explicit conditions are
Proof. Expand in using (23). For each supported term, bound the conductor multiplicity by and apply (25) to obtain the numerator bound
Dividing by (22) gives a contribution of at most
By Proposition 5, every gap is at least . The partition weights have the exact sum
Summing over at most conductors proves (30). For implies
The other branches of (27) also have gap at least . Since , the asserted universal rate follows. The decay exponent is positive for , so the relative error tends to zero. The main term is positive in the stated domain. If its relative-error upper bound is strictly less than one, the count is strictly positive.
Small-size obstructions and the fixed-size classification
The upper bounds supply sufficiency for equidistribution. Exact counts at target zero give the small-size obstructions needed for necessity.
Proposition 8 (Exact small-size obstructions). For , uniform relative equidistribution fails along every admissible sequence. For , put . Then
where
If and , then, for fixed as ,
The estimate is uniform in .
Proof. The value zero is excluded from , so whereas . Its relative error equals one.
The full residue-fibre description in Proposition 1 gives if and otherwise, since the cosets and are equal or disjoint, respectively. A distinct ordered pair with sum zero is with and . Division by two proves (32).
For odd , multiplication by two is invertible. For , , it annihilates the whole ring. For , , (9) with gives . Its nonzero elements have valuation . Therefore a layer of contributes only when , and that layer has size . This proves (33). In this last case,
In the cases relevant to (34),
Lemma 4 and give (34). □
Theorem 9 (Fixed-positive-size classification). Fix , , and a positive integer . Along any admissible sequence , put
, , , .
Uniform relative equidistribution
has the following classification:
(1) If , it always fails.
(2) If , it always holds, with rate (31).
(3) If , it holds if and only if, eventually,
In the successful cases the relative error is .
The quotient is used only when , which holds for all sufficiently large .
Proof. The first two assertions follow from Proposition 8 and Theorem 7. If and eventually , the exponent in (27) is one for , and also for , . The constants in (30) are uniform, proving sufficiency.
If infinitely often, consider those terms of the sequence. At target zero, (32) and (34) give a ratio of either zero or , except that field characteristic two always gives zero. Because , the ratio’s distance from one is bounded away from zero for sufficiently large on that subsequence. If , infinitely often, the ratio at target zero is exactly zero. Either circumstance prevents uniform convergence and proves necessity. □
Remark 10 (All extension degrees). For a fixed admissible and , equidistribution at cannot hold along all extension degrees . Choose a prime . Since , the residue of has a finite multiplicative order modulo . For every positive multiple of that order, , hence infinitely often. Theorem 9 applies. Selected extension-degree subsequences with can have the successful behaviour, subject to the field characteristic-two exception.
In residue characteristic two, admissibility requires odd . At , the field case always fails, while length succeeds on eventual index-one sequences. The self-pair correction is (33). For even , every admissible is odd and because is even, so pairs fail along every admissible sequence.
Appendix A. Technical comparison with the length-two literature
Throughout this comparison, , is odd, and . Both papers of Ding and Zhou cover subset sums over the same distinct nonzero power-value set , with . Their 2019 exponent , extension parameter and subgroup index correspond to our , and , respectively. The complete residue fibres have lifts and roots per value [2 Lemma 2.9(1), pp. 155–156]. Together with the character definitions and [2 Lemma 2.8, p. 154], these give the exact sums , and at conductors , and . Integer twists lower conductors as in (5), rescale the induced field character by the unit part when the lowered conductor is positive, and contribute the full value when trivial.
Consequences of the 2019 estimates
The printed all-target bound has main term [2 Theorem 6.1, pp. 166–167]. The proof estimates [2 proof of Theorem 3.2, pp. 158–159] and distinct-value conversion [2 Section 6, pp. 166–167] also yield, for fixed , with , relative-error bounds for and for . These bounds use positive normalisation on and hold uniformly over unit targets along arbitrary admissible sequences, and over all targets along sequences with eventually .
Consequences of the 2023 exact formulas
The sequel’s constant-fibre formula counts distinct image values [3 Theorem 5.11, p. 130]. For and [3 Corollary 5.12, p. 133], the image is , each fibre has size , and . Image distinctness is imposed after cyclewise fibre conversion, since distinct bases can have repeated images. Combining the exact image Fourier/sieve identities [3 equations (5.1)–(5.5), pp. 131–132] with the character sums above gives our length-two coefficient majorant, with and characters of conductors one and two:
where is defined in (15). For fixed with , division by the positive main term on gives all-target relative-error bounds for and for , uniformly over admissible varying odd , including . In particular, index-one pairs have relative-error bound and satisfy uniform relative equidistribution, already covered by the qualified 2019 derivation above. These rates follow from the exact formulas and are not stated separately in the sequel. The coefficient majorant bounds the actual error and need not have the same order.
Appendix B. An exact formula in the index-one field case
We recall Li and Wan’s exact subset-count formula [6 Theorem 1.2] and derive its relative error and fixed-size asymptotic expansion.
Proposition 11. Suppose and , so . For every , put
Then the exact count is
In particular,
attained at . For fixed , as through admissible prime powers with ,
The error term is uniform in the prime characteristic. The parameter , the exponent and the leading coefficient are evaluated at each .
Proof. A nontrivial additive character of has the th roots of unity as its image, each with preimages. Using and removing the factor at zero gives
The quotient is exact, and its degree- coefficient is
Pascal’s identity telescopes the sum, and follows from . The coefficient is common to all nontrivial . Orthogonality gives
so (17) proves (B.1). The largest absolute multiplier is , attained at $b=0, giving (B.2). For fixed , if then and the numerator binomial is one. If , only finitely many primes occur, and for each of them the falling-factorial expansions give
The same denominator expansion applies when . Choosing the constants uniformly over the finitely many primes and substituting into (B.2) proves (B.3) uniformly in the characteristic.
Declaration of generative AI and AI-assisted technologies in the manuscript preparation process
OpenAI ChatGPT and Codex were used for literature and bibliographic assistance, manuscript editing and organisation.
The author independently verified the mathematical arguments and takes full responsibility for the content of the manuscript.
References
References
- [1]Hyok Choe and Chunghyok Choe. The k-subset sum problem over finite fields of characteristic 2. Finite Fields and Their Applications, 59:175–184, 2019. doi:10.1016/j.ffa.2019.05.003.DOI
- [2]Yuchen Ding and Haiyan Zhou. Subset sums over Galois rings. Journal of Number Theory, 205:148–169, 2019. doi:10.1016/j.jnt.2019.05.004.DOI
- [3]Yuchen Ding and Haiyan Zhou. Subset sums over Galois rings II. Journal of Number Theory, 252:118–136, 2023. doi:10.1016/j.jnt.2023.05.003.DOI
- [4]Daniel J. Katz. Asymptotic L^4 norm of polynomials derived from characters. Pacific Journal of Mathematics, 263(2):373–398, 2013. doi:10.2140/pjm.2013.263.373.
- [5]Michiel Kosters. The subset sum problem for finite abelian groups. Journal of Combinatorial Theory, Series A, 120(3):527–530, 2013. doi:10.1016/j.jcta.2012.10.006. Version used for result locators: arXiv:1112.6294v1.DOI
- [6]Jiyou Li and Daqing Wan. On the subset sum problem over finite fields. Finite Fields and Their Applications, 14(4):911–929, 2008. doi:10.1016/j.ffa.2008.05.003. Version used for result locators: arXiv:0708.2456v1.DOI
- [7]Jiyou Li and Daqing Wan. A new sieve for distinct coordinate counting. Science China Mathematics, 56(9):2351–2362, 2010. doi:10.1007/s11425-010-3121-9.
- [8]Jiyou Li and Daqing Wan. Counting polynomial subset sums. The Ramanujan Journal, 47:67–84, 2018. doi:10.1007/s11139-018-0020-0. Version used for result locators: arXiv:1507.06329v1.DOI
- [9]Weiqiong Wang and Jennifer Nguyen. The k-subset sum problem over finite fields. Finite Fields and Their Applications, 51:204–217, 2018. doi:10.1016/j.ffa.2018.02.001.DOI
- [10]Weiqiong Wang, Li-Ping Wang, and Haiyan Zhou. Subset sums of quadratic residues over finite fields. Finite Fields and Their Applications, 43:106–122, 2017. doi:10.1016/j.ffa.2016.09.003. Version used for result locators: arXiv:1702.03028v1.DOI
- [11]Guizhen Zhu and Daqing Wan. An asymptotic formula for counting subset sums over subgroups of finite fields. Finite Fields and Their Applications, 18(1):192–209, 2012. doi:10.1016/j.ffa.2011.07.010. Version used for result locators: arXiv:1101.0289v1.DOI