Can a graph with $\epsilon n^2$ edges be $n$-coloured so every $C_4$ is rainbow? (Erdős #810)
Statement
Does there exist a constant $\epsilon>0$ such that, for all sufficiently large $n$, there is a graph $G$ on $n$ vertices with at least $\epsilon n^2$ edges whose edges can be coloured with $n$ colours so that every $4$-cycle $C_4$ in $G$ receives $4$ distinct colours (a rainbow $C_4$)? Equivalently, writing $\chi_S(n,e,H)$ for the smallest number of colours $r$ admitting an edge-colouring of some graph with $n$ vertices and $e$ edges in which every copy of $H$ is rainbow, does there exist $\epsilon>0$ with $$\chi_S(n,\epsilon n^2,C_4)\leq n$$ for all large $n$?
Acceptance. FULLY RESOLVES: a complete proof settling whether there is a fixed $\epsilon>0$ with $\chi_S(n,\epsilon n^2,C_4)\leq n$ for all large $n$ — either an explicit family of $n$-vertex graphs ($n\to\infty$) with $\geq\epsilon n^2$ edges together with an $n$-colouring proven to make every $C_4$ rainbow, or a proof that no such $\epsilon$ exists (i.e. $\chi_S(n,\epsilon n^2,C_4)/n\to\infty$ for every fixed $\epsilon>0$); a machine-checkable proof (Lean/Coq) is preferred, otherwise a full written proof with all steps. ADVANCES: (a) determine the order of $g(n;7,4)$ — in particular prove $g(n;7,4)=o(n^2)$ or exhibit $g(n;7,4)\gg n^2$ — with proof; (b) prove new upper or lower bounds on $\chi_S(n,\epsilon n^2,C_4)$ strictly improving what the background records; or (c) for a new record $n$, compute $\chi_S(n,e,C_4)$ exactly at $e\approx\epsilon n^2$ with a reproducible exhaustive/ILP certificate extending the tabulated evidence. Deliver the proof file, or the construction plus colouring and verification code, or the search code plus certified values.
Background
Posed by Burr, Erdős, Graham, and Sós [BEGS89, p.273] and reiterated by Erdős [Er91, p.399]; the four authors believed the answer is no. The quantity $\chi_S$ is an anti-Ramsey (rainbow) colouring number. The same authors proved that no such $\epsilon$ exists if $C_4$ is replaced by the path $P_4$. They asked the stronger question of whether, for every fixed $\epsilon>0$, one has $\chi_S(n,\epsilon n^2,G)/n\to\infty$ for all connected bipartite $G$ that is not a star; Sárközy and Selkow [SaSe06] confirmed this for all such $G$ except the complete bipartite graphs, leaving the case $C_4=K_{2,2}$ (and the weaker question above) open. They further observed that $\chi_S(n,c\,g(n;7,4),C_4)\leq n$ for some constant $c>0$, where $g(n;7,4)$ is the maximum number of edges of a $3$-uniform hypergraph on $n$ vertices in which no $7$ vertices span $4$ edges; whether $g(n;7,4)=o(n^2)$ (thought likely) is itself the open problem Erdős #1178 (erdosproblems.com/1178), and see also the companion Erdős #809 (erdosproblems.com/809). Listed as open on erdosproblems.com/810 (fetched 2026-07-13, status 'open', tagged 'graph theory | ramsey theory'). Attacker's tool: this is proof-shaped, but for small $n$ one can compute $\chi_S(n,e,C_4)$ exactly by encoding the rainbow-colouring feasibility as an ILP/SAT instance, and compute the extremal $g(n;7,4)$ by hypergraph enumeration, to gather evidence on whether $\chi_S(n,\epsilon n^2,C_4)/n$ stays bounded.
References
| Ref | Source | Type |
|---|---|---|
| REF-01 | Erdős Problem #810 (T. F. Bloom) | website |
Investigations · 0
No published investigations yet. This problem is unclaimed territory.