ABSTRACT. Let Pt denote the induced path on t vertices. Let ω(G) denote the maximum number of vertices in a clique of a graph G. Previously Gyárfás (1987) proved that every Pt-free graph G satisfies χ(G)≤(t−1)ω(G)−1, and Gravier, Hoàng, and Maffray (2003) improved this to χ(G)≤(t−2)ω(G)−1 for t≥4. We prove that for t≥5, every Pt-free graph G satisfies χ(G)<ctλtω(G)−1, where λt=21(t−2+t(t−4))<t−2 and ct=1+4/(t(t−4))=1+O(t−2) as t→∞. The proof is based on a refinement of the Gyárfás path argument and was found by Claude Fable 5.1 of Anthropic.
1. INTRODUCTION
All graphs are finite and simple. We write Pt for the path on t vertices, and a graph is Pt-free if it has no induced subgraph isomorphic to Pt. The chromatic number χ(G) is the minimum number of colors needed to color the vertices of G so that adjacent vertices receive distinct colors. The clique number ω(G) of G is the maximum number of vertices of G pairwise adjacent. For S⊆V(G) we write χ(S)=χ(G[S]) and ω(S)=ω(G[S]), both zero for S=∅. For a vertex v of G, N(v) is the set of all neighbors of v, and N[v]=N(v)∪{v}. Disjoint sets are complete to each other if every possible edge between them is present and anticomplete if none is.
A hereditary class C of graphs is χ-bounded if there is a function f such that for every graph G∈C, χ(G)≤f(ω(G)). Such a function f is called a χ-binding function for C. If f can be taken as a polynomial, then we say that C is polynomially χ-bounded.
Gyárfás [4] proved that Pt-free graphs are χ-bounded, with χ(G)≤(t−1)ω(G)−1, and Gravier, Hoàng, and Maffray [3, Corollary 1.4] improved this to (t−2)ω(G)−1 for t≥4. Whether Pt-free graphs are polynomially χ-bounded is open for every t≥6; for t=5 it was very recently proved by Nguyen [5].
We do not address the polynomial question here. We show instead that the exponential base t−2 can be lowered for every t≥5.
Theorem 1. Let t≥5 be an integer, and define integers at,k by
(1)
at,0=0,at,1=1,at,k=(t−2)at,k−1−at,k−2(k≥2).
Then every Pt-free graph G satisfies χ(G)≤at,ω(G).
Let
λt=21((t−2)+(t−2)2−4),
so that λt+λt−1=t−2 and λt>1. The recurrence (1) is solved by
(2)
at,k=λt−λt−1λtk−λt−k=Uk−1(2t−2),
where Un is the Chebyshev polynomial of the second kind (U−1=0,U0=1,Un=2xUn−1−Un−2).
Since at,2=t−2 and at,k<(t−2)at,k−1 for k≥3, we have at,k<(t−2)k−1 for all k≥3. Furthermore, we deduce the following.
DISCRETE MATHEMATICS GROUP, INSTITUTE FOR BASIC SCIENCE (IBS), DAEJEON, SOUTH KOREA.
DEPARTMENT OF MATHEMATICAL SCIENCES, KAIST, DAEJEON, SOUTH KOREA.
Date: September 7, 2026.
Supported by the Institute for Basic Science (IBS-R029-C1).
COLORING GRAPHS WITH NO LONG INDUCED PATH
Corollary 2. Let t≥5 be an integer. For every Pt-free graph G, we have
χ(G)<1+t(t−4)4λtω(G)−1.
Moreover, the factor in front of λtω(G)−1 is 1+O(t−2) as t→∞.
Proof. Let k=ω(G). It is trivial if k≤1. If k≥2, then
in place of the previous bound 4k−1=1,4,16,64,256,1024,4096,16384,…
For t=5, λ5=(3+5)/2 and one obtains the even-indexed Fibonacci numbers a5,k=F2k=1,3,8,21,55,…. Previously Esperet, Lemoine, Maffray, and Morel [2] showed that P5-free graphs G with k=ω(G)≥3 are 5⋅3k−3-colorable; note that a5,k<5⋅3k−3 for k≥7. Asymptotically our bound is superseded by Nguyen [5], who shows that the class of P5-free graphs admits a polynomial χ-binding function.
Method. We describe the classical Gyárfás path argument and then explain how we modify it to improve the bound. Let (cj)j≥0 be an increasing sequence of prospective bounds. Suppose that G is a connected Pt-free graph that is not ck-colorable, where k=ω(G), and that every induced subgraph H of G with ω(H)<k is cω(H)-colorable. The classical Gyárfás path argument starts by picking a vertex u1 and building an induced path from u1. Since ω(N(u1))<k, G[N(u1)] is ck−1-colorable. Since G is not ck-colorable, G∖N(u1) has a component D1 that is not (ck−ck−1)-colorable. We pick a vertex u2 in N(u1) having a neighbor in D1. Similarly, for each i, suppose that we have an induced path u1u2⋯ui+1 and a connected induced subgraph Di that contains a neighbor of ui+1, is disjoint from ⋃j=1iN(uj), and is not (ck−ick−1)-colorable. Provided that ck−(i+1)ck−1≥0, we can color V(Di)∩N(ui+1) with ck−1 colors and pick a component Di+1 of Di∖N(ui+1) and a vertex ui+2∈N(ui+1)∩V(Di) such that u1u2⋯ui+2 is an induced path, Di+1 is not (ck−(i+1)ck−1)-colorable, and ui+2 has a neighbor in Di+1 but no other vertex of the path has a neighbor in Di+1.
Gyárfás [4] obtained an induced path u1u2…ut and Dt−1. This construction can be carried out when ck=(t−1)ck−1, yielding the bound (t−1)ω(G)−1.
Gravier, Hoàng, and Maffray [3, Corollary 1.4] observed that Dt−3 has to be complete to ut−2 because G is Pt-free. Then Dt−3 is ck−1-colorable. Thus, if ck=(t−2)ck−1, this contradicts the assumption that Dt−3 is not (ck−(t−3)ck−1)-colorable. This is how they obtained that Pt-free graphs are (t−2)ω(G)−1-colorable.
Our new idea is to color Dt−4 with fewer colors. For each component F of Dt−4∖N(ut−3), we find a set RF⊆V(F) such that
ω(F[RF])<ω(F)andχ(F∖RF)≤bk−1.
Let F be the set of all components of Dt−4∖N(ut−3). Let
X=V(Dt−4)∩(N(ut−3)∪F∈F⋃RF).
Then ω(Dt−4[X])<k, and therefore Dt−4[X] is at,k−1-colorable. We only need at,k−1+bk−1 colors to color the whole Dt−4. This allows us to say that χ(Dt−4)≤at,k−1+bk−1. We can derive a contradiction
1We note that two surveys [6, Theorem 8] and [1, Section 6] display the bound 4⋅3ω−1 for P6-free graphs with attribution to [3]; but [3] proves (μ−1)ω−1, that is 4ω−1 for P6-free graphs.
COLORING GRAPHS WITH NO LONG INDUCED PATH
3
by choosing at,k and bk appropriately. For the exposition, it is easier to state a lemma that finds a set R in any induced subgraph H with ω(H)≤k such that ω(H[R])<ω(H) and χ(H∖R)≤bk and then deduce the main theorem from this lemma.
2. NUMERICAL PRELIMINARIES
From now on, we fix t≥5. We abbreviate ak=at,k and set bk=ak−ak−1 for k≥1. Then a1=b1=1, and for k≥2,
(3)
ak=bk+ak−1,(4)bk=(t−4)ak−1+bk−1.
Indeed, (3) follows from the definition of bk, and (4) follows from (1). In particular, both (ak) and (bk) are strictly increasing sequences.
3. PROOF
Lemma 3. Let k≥1 be an integer. Let G be a Pt-free graph such that every induced subgraph H of G with ω(H)<k satisfies χ(H)≤aω(H). Let H be an induced subgraph of G with 1≤ω(H)≤k. Then there exists R⊆V(H) such that ω(H[R])<ω(H) and χ(H∖R)≤bk.
Proof. We proceed by induction on k. If k=1, then the statement is trivial because H is edgeless and we take R=∅. Therefore we may assume that k>1. We may assume that H is connected, since otherwise we apply the connected case to each component and take the union of the resulting sets R. Let u1 be a vertex of H and let R=NH(u1). Trivially, ω(H[R])<ω(H).
Suppose that χ(H∖NH(u1))>bk=(t−4)ak−1+bk−1. Note that χ(H[NH(u)])≤ak−1 for every vertex u of H, because ω(H[NH(u)])≤k−1. By the Gyárfás path argument, we find an induced path P=u1u2…ut−3 and a connected induced subgraph Dt−4 of H∖NH(u1) such that
• Dt−4 is disjoint from ⋃j=1t−4NH(uj),
• Dt−4 contains a neighbor of ut−3, and
χ(Dt−4)>bk−(t−5)ak−1=ak−1+bk−1.
Let A=NH(ut−3)∩V(Dt−4), and let F be the set of all components of Dt−4∖A. We claim that every vertex u∈A that has a neighbor in a component F∈F is complete to F. Otherwise, since F is connected, there are adjacent vertices x,y∈V(F) such that ux∈E(G) and uy∈/E(G). The vertices
u1,u2,…,ut−3,u,x,y
then induce a Pt, a contradiction.
Since Dt−4 is connected, for each F∈F there is a vertex u∈A that has a neighbor in F. By the claim, u is complete to F, and therefore ω(F)<ω(H)≤k. By the induction hypothesis, each component F∈F has a set RF of vertices such that ω(F[RF])<ω(F)≤k−1 and χ(F∖RF)≤bk−1.
Now, let
X=A∪F∈F⋃RFandD=Dt−4[X].
We claim that ω(D)<ω(H). Let Q be a clique of D. If Q⊆A, then Q∪{ut−3} is a clique of H, so ∣Q∣<ω(H). Otherwise, because distinct components in F are anticomplete, Q meets RF for exactly one F∈F and is contained in A∪RF. Every vertex in Q∩A is complete to F. If K is a maximum clique of F, then (Q∩A)∪K is a clique of H. Moreover,
∣Q∩RF∣≤ω(F[RF])<ω(F)=∣K∣.
Hence ∣Q∣<∣(Q∩A)∪K∣≤ω(H), proving the claim. In particular, ω(D)≤k−1. This implies that χ(D)≤ak−1. The graph Dt−4∖X is the disjoint union of the graphs F∖RF for F∈F. Thus χ(Dt−4∖X)≤bk−1. We deduce that χ(Dt−4)≤ak−1+bk−1, contradicting the assumption that χ(Dt−4)>ak−1+bk−1. Therefore χ(H∖NH(u1))≤bk, and the chosen set R has the desired properties.
COLORING GRAPHS WITH NO LONG INDUCED PATH
Proof of Theorem 1. Let k=ω(G), and proceed by induction on k. The result is trivial if k≤1. We may assume that every induced subgraph H of G with ω(H)<k satisfies χ(H)≤aω(H). By Lemma 3, we deduce that there is R⊆V(G) such that ω(G[R])<k and χ(G∖R)≤bk. This implies that χ(G[R])≤ak−1 and therefore χ(G)≤ak−1+bk=ak. □
STATEMENT OF AI USE
The proof was found by Anthropic’s Claude Fable 5.1 after it read notes generated, at the author’s direction, by OpenAI’s GPT Astra over several failed attempts. The author simplified the proof and completely rewrote the argument. The author takes responsibility for the mathematical correctness.
REFERENCES
Arnab Char and T. Karthick, χ-boundedness and related problems on graphs without long induced paths: A survey, Discrete Appl. Math. 364 (2025), 99–119. MR 4840998
Louis Esperet, Laetitia Lemoine, Frédéric Maffray, and Grégory Morel, The chromatic number of {P5,K4}-free graphs, Discrete Math. 313 (2013), no. 6, 743–754. MR 3010736
Sylvain Gravier, Chính T. Hoàng, and Frédéric Maffray, Coloring the hypergraph of maximal cliques of a graph with no long path, Discrete Math. 272 (2003), no. 2-3, 285–290. MR 2009549
András Gyárfás, Problems from the world surrounding perfect graphs, Proceedings of the International Conference on Combinatorial Analysis and its Applications (Pokrzywna, 1985), vol. 19, 1987, pp. 413–441 (1988). MR 951359
Tung H. Nguyen, Polynomial χ-boundedness for excluding P5, accepted to FOCS 2026, 2025.
Ingo Schiermeyer and Bert Randerath, Polynomial χ-binding functions and forbidden induced subgraphs: a survey, Graphs Combin. 35 (2019), no. 1, 1–31. MR 3898374