The maximum number of triangles in graphs without the square of a path
arXiv:2601.09454
Abstract
The generalized Turán number for of , denoted by $\ex(n,H,G)$, is the maximum number of copies of in an -vertex -free graph. When is an edge, $\ex(n,H,G)$ is the classical Turán number $\ex(n,G)$. Let be the path with vertices. The square of , denoted by , is obtained by joining the pairs of vertices with distance at most two in . The Turán number of , $\ex(n, P_k^2)$, was determined by several researchers. When , is the triangle and $\ex(n, P_3^2)$ is well-known from Mantel's theorem. When , $\ex(n, P_4^2)$ was solved by Dirac in a more general context. When , the problem was solved by Xiao, Katona, Xiao, and Zamora. For general , the problem was solved by Yuan in a more general context. Recently, Mukherjee determined the generalized Turán number $\ex(n, K_3, P_5^2)$. In this paper, we determine the exact value of $\ex(n, K_3, P_6^2)$ and characterize all the extremal graphs for .