Papers
Topics
Authors
Recent
Search
2000 character limit reached

Rainbow 3-Term Arithmetic Progressions

Updated 16 January 2026
  • Rainbow 3-term arithmetic progressions are sequences where each element in an arithmetic progression is assigned a distinct color, illustrating key pattern-avoidance properties.
  • Extremal parameters like the anti-van der Waerden number, rainbow number, and sub-Ramsey number quantify threshold conditions and structural limits in these colored progressions.
  • Exact and asymptotic results in both integer intervals and finite abelian groups drive advances in additive combinatorics, coding theory, and the study of extremal colorings.

A rainbow 3-term arithmetic progression (rainbow 3-AP) is a length-3 arithmetic progression in a finite set or group—typically the initial segment [n]={1,2,,n}[n]=\{1,2,\dots,n\} or a finite abelian group—where each element is assigned a distinct color under a specified coloring. Research on rainbow 3-term arithmetic progressions centers on the extremal colorings that guarantee the existence, absence, maximum number, or minimum forbidden structure of rainbow 3-APs, and the associated threshold parameters such as anti-van der Waerden numbers, rainbow numbers, and sub-Ramsey numbers.

1. Foundational Notions: Rainbow 3-APs and Extremal Parameters

A kk-term arithmetic progression (k-AP) within [n][n] is a set {a,a+d,a+2d,,a+(k1)d}\{a, a+d, a+2d, \dots, a+(k-1)d\} for aNa\in \mathbb{N}, d1d\ge 1, and a+(k1)dna+(k-1)d\le n. For a finite abelian group GG, a 3-AP is a triple (x,x+d,x+2d)(x, x+d, x+2d).

Given a coloring c:S{1,2,,r}c : S \to \{1,2,\dots, r\} of a set SS, a 3-AP is rainbow if c(a)c(a), c(a+d)c(a+d), and c(a+2d)c(a+2d) are all distinct.

Several extremal invariants govern the existence and quantitative behavior of rainbow 3-APs:

  • Anti-van der Waerden number aw(S,3)aw(S, 3): The least rr such that every exact rr-coloring of SS contains a rainbow 3-AP.
  • Rainbow number rb(S,3)\mathrm{rb}(S, 3): The least rr such that every exact rr-coloring of SS contains a rainbow solution to x1+x3=2x2x_1 + x_3 = 2x_2.
  • Sub-Ramsey number f(n)f(n): The minimal kk such that there exists a coloring of [n][n] with no rainbow 3-AP and each color appears on at most kk integers.
  • Rainbow-multiplicity: The maximum (or proportion) of rainbow 3-APs attainable in a rr-coloring of SS.

These parameters are typically studied in the integer interval [n][n], the cyclic group Zn\mathbb{Z}_n, or more general finite abelian groups GG.

2. Exact and Asymptotic Results for Anti-van der Waerden Numbers

For [n][n], Butler et al. established tight asymptotic bounds log3n+2aw([n],3)log2n+1\lceil\log_3 n\rceil + 2 \le aw([n],3) \le \lceil\log_2 n\rceil + 1 and conjectured that aw([n],3)log3n+Caw([n],3) \le \lceil\log_3 n\rceil + C for some absolute constant CC (Butler et al., 2014). This was resolved exactly by determining aw([n],3)aw([n],3) for all nn:

For 73m2+1<n213m27\cdot 3^{m-2}+1 < n \le 21\cdot 3^{m-2},

aw([n],3)={m+2n=3m m+3n3maw([n],3) = \begin{cases} m+2 & n=3^m \ m+3 & n\ne 3^m \end{cases}

where mm is (uniquely) chosen such that nn lies in the above "window" (Berikkyzy et al., 2016). Thus, aw([n],3)aw([n],3) behaves as a step function, with increments linked to the powers of 3, establishing that the minimal threshold differs from log3n\lceil \log_3 n\rceil by at most $3$. This exact value is critical for anti-Ramsey theory and has direct implications in coding theory and the study of pattern-forcing structures.

For the cyclic group Zn\mathbb{Z}_n, the behavior diverges due to wrap-around. Jungić et al. showed aw(Z2m,3)=3aw(\mathbb{Z}_{2^m},3)=3 for all mm, and aw(Zn,3)aw(\mathbb{Z}_n,3) can be computed from the aw(Zp,3)aw(\mathbb{Z}_p,3) over the prime factors pp of nn (Butler et al., 2014), specifically: aw(Zn,3)=2+f2(n)+f3(n)+2f4(n)aw(\mathbb{Z}_n,3) = 2 + f_2(n) + f_3(n) + 2f_4(n) where f2(n)f_2(n) is 1 if nn is even, f3(n)f_3(n) counts the (multi)set of odd pp with aw(Zp,3)=3aw(\mathbb{Z}_p,3)=3, f4(n)f_4(n) counts those with aw(Zp,3)=4aw(\mathbb{Z}_p,3)=4. This formula is also generalized to arbitrary finite abelian groups via the decomposition into 2-parts and odd-parts, with a further reduction for the unitary anti-van der Waerden number (Young, 2016).

3. Rainbow-Free Colorings: Structure and Enumeration

A central theme is the classification and enumeration of rainbow-3-AP-free colorings. Hypergraph container methods have shown that for any fixed r3r\ge 3, the number of rainbow-3-AP-free rr-colorings of [n][n], denoted gr,3([n])g_{r,3}([n]), satisfies

gr,3([n])=(r2)2n+o(2n)g_{r,3}([n]) = \binom{r}{2}2^n + o(2^n)

and almost all such colorings use only two colors (Lin et al., 2022, Li et al., 2021). The extremal structure is thus dominated by the 2-colorings, and general container methods yield a sharp "almost all" dichotomy for large nn.

For finite abelian groups, Montejano–Serra gave a full structural description: every rainbow-free 3-coloring is, up to translation, induced from a coloring on a proper subgroup HH, with the color classes outside HH being unions of HH-cosets satisfying strong symmetry conditions (invariance under inversion and doubling), settling a standing conjecture (Montejano et al., 2011).

The maximization of rainbow 3-APs under 3-colorings was addressed quantitatively: for [n][n], the modular coloring f(x)=xmod3f(x) = x \bmod 3 attains the proportion

rb[n](x+y=2z)23+o(1)rb_{[n]}(x+y=2z) \ge \frac{2}{3} + o(1)

of all ordered solutions (x,y,z)(x, y, z) (Elvin et al., 9 Jan 2026). The same modular residue coloring is extremal in both [n][n] and Zn\mathbb{Z}_n when nn is a multiple of 3. In contrast, random colorings yield only $2/9$ fraction rainbow 3-APs, so explicit colorings can achieve a much larger density.

On the minimization side, sub-Ramsey numbers for color class sizes yield f(n)=(8/17)n+O(1)f(n) = (8/17)n + O(1), with an explicit, unique extremal coloring based on a 17-periodic residue structure that avoids all rainbow 3-APs (Axenovich et al., 2016).

5. Rainbow Coverage, Universal Sequences, and Partial Colorings

A complementary class of problems addresses the minimal length or structure needed to "cover" all color triples by rainbow 3-APs. The least N=ac(n,3)N=ac(n,3) such that every 3-subset of [n][n] is realized as a rainbow 3-AP in some coloring f:[N][n]f:[N]\to[n], satisfies

ac(n,3)=O(lognn3/4)ac(n,3) = O(\log n \cdot n^{3/4})

via probabilistic "first moment" analysis, though the trivial lower bound is Ω(n3/2)\Omega(n^{3/2}), indicating a substantial gap (Alese et al., 2018).

Separately, allowing partial colorings of A[n]A\subseteq [n] of size Annα|A| \ge n-n^{\alpha} for α<1\alpha<1, Pach–Tomon showed that all 3-APs in AA can be made rainbow with as few as nβn^{\beta} colors for any β<1\beta<1 (Pach et al., 2019).

6. Open Problems and Future Directions

Key open questions persist in several directions:

  • Higher-term progression thresholds: For k4k\geq 4, anti-van der Waerden numbers grow much faster, aw([n],k)=n1o(1)aw([n],k)=n^{1-o(1)}, and sharp constants or finer step-structure remain open (Butler et al., 2014).
  • Primes with extremal behavior: Classification of primes pp for which aw(Zp,3)=3aw(\mathbb{Z}_p,3)=3 is tied to deep questions in multiplicative combinatorics (orders of $2$ mod pp and Artin's conjecture) (Butler et al., 2014).
  • Generalizations to other settings: Extensions include higher-dimensional grids, nonabelian groups, and other linear equations.
  • Structure and uniqueness of extremal colorings: For both maximum multiplicity and minimum forbidden structures, the uniqueness and stability of explicit modular or pattern colorings is an area of active study.

The theory of rainbow 3-term arithmetic progressions links anti-Ramsey theory, additive combinatorics, and extremal coloring problems, and serves as a unifying model for pattern-avoidance and universality phenomena in finite discrete structures.


References:

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Rainbow 3-Term Arithmetic Progressions.