Papers
Topics
Authors
Recent
Search
2000 character limit reached

Gallai-Ramsey Number

Updated 27 January 2026
  • Gallai-Ramsey number is an extremal invariant in multicolor Ramsey theory that defines the minimum complete graph order forcing a rainbow triangle or monochromatic odd cycle.
  • The closed formula grₖ(K₃ : C₂ₗ₊₁) = ℓ·2ᵏ + 1 illustrates its exponential growth for k ≥ 1 and ℓ ≥ 3, providing sharp bounds.
  • The derivation leverages Gallai’s partition theorem, inductive arguments, and extremal coloring constructions to avoid rainbow triangles.

A Gallai-Ramsey number is an exact extremal invariant in multicolor Ramsey theory, quantifying the minimum order of a complete graph such that every edge-coloring, subject to a specified rainbow-avoidance constraint, must force a monochromatic copy of a given graph. For odd cycles, the Gallai-Ramsey number exhibits exceptionally clean behavior, contrasting sharply with the unpredictable growth of classical multicolor Ramsey numbers. The principal result is the closed formula grk(K3:C2+1)=2k+1gr_k(K_3 : C_{2\ell+1}) = \ell \cdot 2^k + 1, valid for all k1k \geq 1 and 3\ell \geq 3 (Wang et al., 2018). The derivation of this formula rests on Gallai’s structure theorem for rainbow triangle-free colorings, inductive arguments, explicit extremal colorings, and a suite of tight path/cycle forcing lemmas.

1. Definition and Basic Properties

Given graphs GG and HH, and a positive integer kk, the kk-color Gallai-Ramsey number grk(G:H)gr_k(G : H) is the least integer NN such that every kk-edge-coloring of the complete graph KNK_N contains either a rainbow copy of GG (all edges distinct colors) or a monochromatic copy of HH. In the triangle-forced case, H=C2+1H=C_{2\ell+1} and G=K3G=K_3, this measures the rainbow triangle or monochromatic odd cycle threshold (Wang et al., 2018):

$gr_k(K_3 : C_{2\ell+1}) = \min\{N:\ \text{every $k$-coloring of } K_N\ \text{contains a rainbow } K_3 \text{ or a monochromatic } C_{2\ell+1}\}$

A kk-coloring avoiding rainbow K3K_3 is called a Gallai coloring.

2. Main Result: Formula for Odd Cycles

For all k1k \geq 1 and 3\ell \geq 3,

grk(K3:C2+1)=2k+1gr_k(K_3 : C_{2\ell+1}) = \ell \cdot 2^k + 1

This formula is sharp—that is, there exist Gallai kk-colorings on exactly 2k\ell \cdot 2^k vertices with neither a rainbow triangle nor a monochromatic (2+1)(2\ell +1)-cycle. The result extends previous sharp values for 353 \leq \ell \leq 5 and applies uniformly for all larger odd cycles (Wang et al., 2018). The same formula (in the k=3k=3 case) matches the conjectured value of the classical three-color Ramsey number for odd cycles (R3(C2+1)=8+1R_3(C_{2\ell+1}) = 8\ell + 1 when k=3k=3).

3. Structure Theorem and Inductive Proof Outline

Gallai’s partition theorem underpins the entire analysis. It states that for any Gallai coloring of KnK_n, there exists a partition V1VtV_1 \cup \dots \cup V_t such that between parts only two colors appear and every between-part edge is monochromatic. The reduced graph (one representative from each part) is thus a 2-colored complete graph.

The inductive argument for the upper bound proceeds as follows:

  • Base cases: For k=1k=1, the statement is trivial; one needs 2+1=21+12\ell+1 = \ell \cdot 2^1 + 1 vertices. For k=2k=2, the classical Ramsey number gives gr2(K3:C2+1)=4+1=4+1gr_2(K_3 : C_{2\ell+1}) = 4\ell + 1 = \ell \cdot 4 + 1.
  • Induction: Assume the bound for k1k-1. Build sets TiT_i for each color ii where every vertex in TiT_i is color-ii-complete to the rest. Each Ti|T_i|\leq \ell (as a larger TiT_i would immediately yield a monochromatic C2+1C_{2\ell+1}). Remove all TiT_i and analyze the Gallai partition of the remainder GG', which is structured by reduced graphs with only two colors and all parts of size at most \ell. By a series of pigeonhole, Dirac-type, and Erdős-Gallai lemmas, the presence of enough small parts plus classical two-colored extremal results ensures that GG' must contain a monochromatic C2+1C_{2\ell+1}, completing the argument (Wang et al., 2018).

4. Extremal Colorings and Sharpness

The matching lower bound is realized by an explicit construction:

  • For k=1,2k=1,2, use the identity coloring and the classical sharpness examples (two KK_{\ell} in red joined in blue, etc.).
  • For k3k \geq 3, recursively take two disjoint copies of the extremal (k1)(k-1)-coloring on 2k1\ell \cdot 2^{k-1} vertices, coloring all edges between in color kk. This construction never creates a rainbow triangle, and the between-part edges are bipartite, hence cannot host an odd cycle. Any monochromatic odd cycle can only arise inside a part, which is precluded by induction (Wang et al., 2018).

5. Key Structural Lemmas

Several nontrivial classical results and structural sublemmas are critical in the analysis:

  • Dirac-type cycle lemma: In a 2-colored complete graph on at least 2+12\ell+1 vertices, if a color forms a connected spanning subgraph with minimum degree at least n/2n/2, a monochromatic C2+1C_{2\ell+1} appears.
  • Erdős-Gallai path lemma (2-color version): If every vertex vv in a 2-colored graph satisfies dred(v)+dblue(v)a+b3d_{red}(v) + d_{blue}(v) \geq a+b-3, then the graph contains either a red path on aa vertices or a blue path on bb vertices.
  • Path splicing and pigeonhole arguments: In reduced graphs with two large parts or a large part and the rest small, path and cycle embedding becomes possible by augmenting long monochromatic paths to close cycles (Wang et al., 2018).

6. Specific Examples and Small Cases

For k=2k=2, =3\ell=3, gr2(K3:C7)=13gr_2(K_3 : C_7) = 13. The sharp example is two red K6K_6’s joined in blue. Each part contains no red C7C_7; the blue subgraph is bipartite and thus contains no odd cycles. For k3k \geq 3, recursive blowup constructions extend this extremal pattern.

kk \ell grk(K3:C2+1)gr_k(K_3: C_{2\ell+1})
1 3 7
2 3 13
3 3 25
2 4 17
3 4 33

7. Extensions, Open Questions, and Context

The odd-cycle Gallai-Ramsey result represents a special instance of a broader dichotomy:

  • For non-bipartite HH, grk(K3:H)gr_k(K_3: H) grows exponentially in kk.
  • For bipartite HH not a star, grk(K3:H)gr_k(K_3: H) grows linearly in kk.
  • For stars, grk(K3:H)gr_k(K_3: H) is constant in kk (Magnant et al., 2019).

For even cycles C2C_{2\ell}, only linear-in-kk upper and lower bounds are known; the exact value is open. Replacing K3K_3 with larger forbidden rainbow graphs dramatically increases structural complexity, and the general grk(G:H)gr_k(G: H) problem remains wide open beyond isolated exact instances. Removing the rainbow triangle constraint yields the classical multicolor Ramsey numbers, but even for cycles, these problems are notoriously difficult (Wang et al., 2018).

The combination of structural rainbow-avoidance (Gallai partitions), classical extremal graph theory, and careful recursive coloring analysis enables these exact results for odd cycles, resolving a longstanding conjecture and establishing a canonical exponential law:

grk(K3:C2+1)=2k+1gr_k(K_3 : C_{2\ell+1}) = \ell \cdot 2^k + 1

for all k,1k,\, \ell \geq 1 with 3\ell \geq 3 (Wang et al., 2018).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

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 Gallai-Ramsey Number.