## 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 G and H the anti-Ramsey number ar(G, H) is defined to be the maximum number k such that there exists an assignment of k colors to the edges of G in which every copy of H in G 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 H is a star. Along this line of research, we study the complexity of computing the anti-Ramsey number ar(G, P_{k}), where P_{k} is a path of length k. First, we observe that when k is close to n, the problem is hard; hence, the challenging part is the computational complexity of the problem when k 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 ar(G, P_{k}) for every integer k > 2 is NP-hard. We obtain this by providing several structural properties of such coloring in graphs. We investigate further and show that approximating ar(G, P3) to a factor of n^{−}1/2−ε is hard already in 3-partite graphs, unless P = NP. 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 k. Given the hardness of approximation and parametrization of the problem, it is natural to study the problem on restricted graph families. Along this line, we first introduce the notion of color connected coloring, and, employing this structural property, we obtain a linear time algorithm to compute ar(G, P_{k}), for every integer k, when the host graph, G, is a tree.

Original language | English |
---|---|

Title of host publication | 45th International Symposium on Mathematical Foundations of Computer Science, MFCS 2020 |

Editors | Javier Esparza, Daniel Kral�, Daniel Kral� |

Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |

ISBN (Electronic) | 9783959771597 |

DOIs | |

Publication status | Published - Aug 1 2020 |

Event | 45th International Symposium on Mathematical Foundations of Computer Science, MFCS 2020 - Prague, Czech Republic Duration: Aug 25 2020 → Aug 26 2020 |

### Publication series

Name | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|

Volume | 170 |

ISSN (Print) | 1868-8969 |

### Conference

Conference | 45th International Symposium on Mathematical Foundations of Computer Science, MFCS 2020 |
---|---|

Country | Czech Republic |

City | Prague |

Period | 8/25/20 → 8/26/20 |

## Keywords

- Algorithm
- Anti-Ramsey
- Approximation
- Coloring
- ETH
- NP-hard

## ASJC Scopus subject areas

- Software