Erdős problem 1105
The anti-Ramsey number is the maximum possible number of colours in which the edges of can be coloured without creating a rainbow copy of (i.e. one in which all edges have different colours).
Sources
FormalConjectures/ErdosProblems/
1105.lean
Retained formal statement
Let be the path on vertices and . If then is equal to where if is odd and otherwise?
A proof of the formula for for all has been announced by Yuan [Yu21].
True ↔ ∀ (k n : ℕ), 5 ≤ k → k ≤ n → have ℓ := (k - 1) / 2; have ε := if Odd k then 1 else 2; (SimpleGraph.pathGraph k).antiRamseyNum n = max ((k - 2).choose 2 + 1) ((ℓ - 1).choose 2 + (ℓ - 1) * (n - ℓ + 1) + ε)SolvedStatement only, no proof