English

The maximum number of triangles in graphs without the square of a path

Combinatorics 2026-01-15 v1

Abstract

The generalized Tur\'an number for HH of GG, denoted by \ex(n,H,G)\ex(n,H,G), is the maximum number of copies of HH in an nn-vertex GG-free graph. When HH is an edge, \ex(n,H,G)\ex(n,H,G) is the classical Tur\'an number \ex(n,G)\ex(n,G). Let PkP_k be the path with kk vertices. The square of PkP_k, denoted by Pk2P_k^2, is obtained by joining the pairs of vertices with distance at most two in PkP_k. The Tur\'an number of Pk2P_k^2, \ex(n,Pk2)\ex(n, P_k^2), was determined by several researchers. When k=3k=3, P32P_3^2 is the triangle and \ex(n,P32)\ex(n, P_3^2) is well-known from Mantel's theorem. When k=4k=4, \ex(n,P42)\ex(n, P_4^2) was solved by Dirac in a more general context. When k=5,6k=5,6, the problem was solved by Xiao, Katona, Xiao, and Zamora. For general k7k \ge 7, the problem was solved by Yuan in a more general context. Recently, Mukherjee determined the generalized Tur\'an number \ex(n,K3,P52)\ex(n, K_3, P_5^2). In this paper, we determine the exact value of \ex(n,K3,P62)\ex(n, K_3, P_6^2) and characterize all the extremal graphs for n11n \ge 11.

Keywords

Cite

@article{arxiv.2601.09454,
  title  = {The maximum number of triangles in graphs without the square of a path},
  author = {Yichen Wang and Ervin Győri},
  journal= {arXiv preprint arXiv:2601.09454},
  year   = {2026}
}