Complexity of computing the anti-Ramsey numbers for paths
Abstract
The anti-Ramsey numbers are a fundamental notion in graph theory, introduced in 1978, by Erdős, Simonovits and Sós. For given graphs and the anti-Ramsey number is defined to be the maximum number such that there exists an assignment of colors to the edges of in which every copy of in has at least two edges with the same color.
Usually, combinatorists study extremal values of anti-Ramsey numbers for various classes of graphs. There are works on the computational complexity of the problem when is a star. Along this line of research, we study the complexity of computing the anti-Ramsey number , where is a path of length . First, we observe that when is close to (the number of vertices in ), the problem is hard; hence, the challenging part is the computational complexity of the problem when is a fixed constant.
We provide a characterization of the problem for paths of constant length. Our first main contribution is to prove that computing for every integer is NP-hard. We obtain this by providing several structural properties of such coloring in graphs. We also study the exact complexity of the precolored version and show that there is no subexponential algorithm for the problem unless ETH fails for any fixed constant .
Citation
@article{antiramsey20,
author = {Saeed {Akhoondian Amiri} and Alexandru Popa and Mohammad Roghani and Golnoosh Shahkarami and Reza Soltani and Hossein Vahidi},
title = {Complexity of computing the anti-{Ramsey} numbers for paths},
journal = {Theoretical Computer Science},
year = {2025},
volume = {1044},
pages = {115271},
doi = {10.1016/j.tcs.2025.115271},
issn = {0304-3975}
}