Two problems of Burr, Erd\H os, Graham, and S\'os on maximal anti-Ramsey functions for
P4The paper resolves two open problems on the maximal anti-Ramsey function $\chi_{\mathrm{S}}(n,e,P_4)$ — the minimum number of colors needed to color the edges of any $n$-vertex graph with at least $e$ edges so that every $P_4$ (path on 4 vertices) is rainbow. The authors affirmatively answer the first problem, proving $\chi_{\mathrm{S}}(n,\lfloor un \rfloor,P_4) < Cu$ for all sufficiently large $n$ using a local density inequality and strong edge-colorings of odd Kneser graphs. They negatively answer the second problem, showing that for every $0<\epsilon<1/2$ there exists $\gamma>0$ and arbitrarily large $n$ with $\chi_{\mathrm{S}}(n,\binom{n}{2}-\lfloor n^{2-\epsilon}\rfloor,P_4) \le n^{2-\gamma} = o(n^2)$, via a construction of Alon, Moitra, and Sudakov.