1. Introduction
Let denote the finite field of order p (with p prime), and write . Fix , set (the set of colors), and call an n-coloring of a map . For , let ; then the chromatic classes form a partition .
Given nonzero coefficients
and
, consider the linear equation
A solution is
monochromatic if all coordinates lie in the same chromatic class, and
rainbow (ordered) if each color appears exactly once (i.e., the tuple intersects every
). Throughout, following the notation in previous work [
1], we denote by
the set of rainbow solutions of
L under the coloring
, and by
its cardinality.
While lower bounds for monochromatic solutions are well established (see, e.g., [
2,
3,
4,
5]), the rainbow case is comparatively less explored. Early work focused on structural and existence aspects; see, for instance, [
6,
7,
8,
9,
10,
11]. Quantitative bounds for specific equations have also appeared. For
, bounds for the equation
under certain colorings were proved ([
12] Proposition 1); see also ([
13] Proposition 11), and later extended to more general equations and colorings [
14]. A quantitative bound for the general case
was obtained only recently ([
1] Theorem 1.2). That result ensures that, given
and
with
if the coefficients satisfy the separability condition
for some distinct
, then for every
n-coloring satisfying
one has
where one may take
. The constant
c can nevertheless be improved, leaving room for sharper quantitative bounds. Our contribution is to refine this lower bound, especially in regimes where the coloring behaves (pseudo-)randomly. This constitutes the main result of the paper.
A second contribution is methodological: we employ a Fourier-analytic approach to counting rainbow solutions. For background and intuition we refer to [
15] and references therein. In brief, linear equations are naturally expressed and counted in frequency space: the Fourier expansion turns
L into an average of additive characters, and the resulting count decomposes into a main term depending only on the sizes of the chromatic classes and an error term that measures their correlation with additive characters (Fourier bias). More broadly, spectral techniques via Gowers uniformity norms and higher-order Fourier analysis underpin many quantitative results in additive combinatorics; see [
16,
17,
18]. Our bounds use only classical (
-level) Fourier information.
The outline is as follows. In
Section 2 we introduce the basic Fourier-analytic notions over
used in the paper. In
Section 3 we use additive orthogonality to derive a lower bound on the relevant counts via the triangle inequality.
Section 4 states the main result and discusses (pseudo-)random regimes in which the bound becomes tight.
Section 5 analyzes the optimality of our bounds in these cases and compares them with the state of the art, and
Section 6 summarizes our contributions.
2. Fourier Basics in
We begin by recalling standard Fourier-analytic notions over finite fields; for details see ([
15] Ch. 4), ([
19] Ch. 6), and ([
20] Ch. 11).
Fix a prime
p and work additively in
. Set
and define the
Fourier transform as follows:
Set
. The well-known
additive orthogonality (see, e.g., [
15] Lemma 4.5) is
For
, the
Fourier bias ([
15] Definition 4.12) of the set
A is the quantity:
where
denotes the indicator of
A.
Note that for every
one has
because by the definition of
and the triangle inequality, we have
for every
. Taking the maximum over
gives
. In addition,
, while the bias only involves nonzero frequencies.
As a general rule, the Fourier bias tracks how uniform a set looks. If the bias is small, no single frequency stands out and repeated sumsets tend to smooth the distribution, much like random data. If the bias is large, a few frequencies dominate; this points to visible additive structure, for example long arithmetic progressions or other near-periodic patterns, and the set stops looking random.
4. Main Result
Recall that a rainbow (ordered) solution uses each color exactly once in some order. Let
be the permutation group of
n elements. For the partition
we have
Theorem 1. Let L be a linear equation as in Equation (
1)
, and let be an n-coloring with chromatic classes and densities . Then Proof. Apply Lemma 2 with and sum over .
Note that when there is only one color, so rainbow and monochromatic coincide and the permutation sum disappears. The equation has exactly one solution, so the case is trivial. The bound above is aimed at the genuinely multicolor case .
In what follows in this section we show an application of the previous result for n-colorings with (pseudo-)random behavior, obtaining tight bounds.
4.1. Pseudorandom Colorings: Bias at the Scale
As a canonical example, take
with
p odd. The Gauss sum estimate ([
15] Lemma 4.14) gives that the 2–coloring defined by the quadratic residues and their complement
satisfies (see also [
15] (Exercise 4.3.2) for the complement)
The same Gauss–sum mechanism extends to algebraic colorings, such as those built from multiplicative characters on
. For instance, partitioning
according to the value of a fixed multiplicative character (and placing 0 in any class) yields color classes whose indicators are short linear combinations of that character, and hence their nontrivial additive Fourier coefficients are linear combinations of Gauss sums. By the classical Gauss bound (see, e.g., [
20], Proposition 11.5), each such Gauss sum has size
. Consequently, there is a constant
(independent of
p) such that
More generally, if one forms an
n-coloring by taking joint level sets of a fixed finite family of multiplicative characters (and merging cells if needed to obtain exactly
n classes), the same argument shows that
for all
i, with
depending on that finite family.
Plugging
into Equation (
4) gives
for some constant
depending only on
n. Thus, for every fixed
, the main term dominates as
.
4.2. Random Colorings: Bias at the Scale (with High Probability)
Assign each
to exactly one color
independently over
x, with the law
where
. By ([
15] Lemma 4.16) (applied with
and with the lemma’s density parameter
set to
), there exists an absolute constant
such that, for each
i,
Now, by a union bound over
i, with probability
we have simultaneously for all
that
Consequently, with the same probability,
Since
, we bound the product and absorb constants to obtain
for some constant
depending only on
n. In particular, for every fixed
the main term dominates as
.
5. Discussion
To orient the reader,
Table 1 summarizes assumptions, constants, and asymptotic regimes side by side.
Throughout this section we assume
and set
In the state of art ([
1] Theorem 1.2) the minimal class size is parametrised by a number
via
. Up to the additive
(an inessential rounding when passing to densities), this matches our convention
. We will use the same letter
w for the minimal density throughout.
The result below shows an upper bound (cf. [
1] Equation (
1)) for
showing the natural order
for this quantity.
Proposition 1. Let L be a linear equation as in Equation (
1)
, and let be an n-coloring with chromatic classes . Then In particular, with an implied constant depending only on the and n. Proof. Fix a permutation
and let
be the color used in the last coordinate. If we choose
arbitrarily, the equation
L determines at most one value of
because
. Thus
Summing over all
and grouping by the last color
j (there are
permutations with
) gives
Finally, for any
j,
(because the product over any
classes is maximized by omitting the smallest one,
). Hence
as we claimed.
Note that for the (pseudo-)random cases, when
p is large enough so that the spectral error is negligible, the lower bounds in Equations (
6) and (
7) are far from the upper bound in Equation (
8) by a term
. For example, take the 2–coloring partition given by the quadratic residues in Equation (
5). Then
, hence
Thus,
. Also, for instance, for
n-coloring given by the balanced random model, assign each
independently with
. By Chernoff bounds,
as
, with high probability. Thus, in the (pseudo-)random settings, once
p is large enough for the error term to be negligible, our lower bounds match the upper bound up to a constant factor governed by
bounded (asymptotically) by the number of colors
n.
Now, we consider the comparison with the prior bound in Equation (
2) in low-bias regimes. Whenever the hypotheses of ([
1] Theorem 1.2) hold (
,
for some
, and
with
), one has
In the low-bias regimes treated above, our Fourier bound is essentially sharp while the constant
c is extremely small.
Consider the pseudorandom scale with
for all
i. For
p large enough (depending only on
n and the
) the spectral error in Equation (
6) is at most
, hence
Comparing the leading constants gives
which is astronomically larger for any fixed
and
. Thus, in this case, the prior lower bound is far from the true constant-level scale, while the Fourier bound attains the correct
order with the correct constant up to a fixed factor. Equivalently, the same conclusion as above holds with high probability in the random regime.
Furthermore, we note that our Fourier bound does not require coefficient separability (); it applies verbatim for arbitrary nonzero coefficients. Therefore, it also covers non-separable instances that lie outside the scope of the previous related result.
We also note that our result should be read as complementary to previous work. When the color classes have strong additive structure, the spectral term can dominate and make our inequality vacuous, while the bound in Equation (
2) remains positive.
As a concrete example, partition
into
n long, disjoint arithmetic progressions (for instance,
n consecutive cyclic intervals of length
). Then
. For a single cyclic interval of the form
one has, for
,
hence taking module values and using
gives
Taking
and using
gives
If
(which holds when
and
), the elementary bound
for
yields
The same estimate applies to complements (see [
15], Exercise 4.3.2). Thus, for the coloring by
n consecutive cyclic intervals we have
From our general bound Equation (
4) and using
, we obtain the upper estimate
In particular, if
then the right-hand side above is negative, so our Fourier lower bound becomes trivial in this highly structured regime.
By contrast, the hypotheses of ([
1] Theorem 1.2) are satisfied here. For large
p we have
, and one can choose
L with at least two distinct non-opposite coefficients (i.e., not equal up to sign). Therefore Equation (
2) still yields a strictly positive lower bound (with a constant that seems improvable). It remains interesting to optimize that constant in these cases.
6. Conclusions
This work provides new lower bounds for counting rainbow solutions to linear equations over a finite field of prime order p partitioned into n chromatic classes. We employ Fourier-analytic methods that leverage the linear structure to obtain quantitative bounds in terms of class densities and a single spectral parameter (the Fourier bias). Furthermore, our result does not require additional assumptions such as coefficient separability.
To sum up, for colorings with strong additive structure, the spectral error can dominate and our Fourier bound may become vacuous, while the previous combinatorial approach remains nontrivial. Conversely, in low-bias regimes (pseudorandom and random), our bound recovers the optimal scaling with the correct leading constant up to a fixed factor; to our knowledge, this quantitative form is new. It remains an open problem to obtain finer bounds in strongly additive-structured settings.
Finally, the same Fourier-analytic template extends to systems of linear equations over finite abelian groups and to higher-dimensional colorings via multidimensional characters. For certain nonlinear patterns, partial extensions are available through linearization or completion of sums, whereas a broader nonlinear theory would likely call for higher-order uniformity tools.