TOPICS
Search

Graceful Tree Theorem


The graceful tree theorem, also known as the graceful tree conjecture, is the conjecture that every tree is graceful. Kotzig proposed the conjecture in 1965 (Bondy and Murty 1976; Knuth 2025, p. 24). Many authors have tried to prove it. Despite Knuth's observation that "the GTC is almost certainly true" (Knuth 2025, p. 24), no proof or refutation has been discovered to date.

Since a tree on n vertices has m=n-1 graph edges, all values 0 to m appear in any graceful labeling of its vertices. As a result, the label m of a graph edge can occur only when that graph edge is incident on vertices with labels 0 and m, meaning labels 0 and m must occur at adjacent vertices in a graceful labeling (Horton 2003, p. 7). Nikoloski et al. (2002) found an algorithm that uses a triangular tableau to identify and ignore cases of this type (Horton 2003, p. 7).

Bounds on the number of vertices n up to which the conjecture has been computationally verified are summarized in the following table.

nreference
16Rosa (1965; cited in Knuth 2025, p. 24)
27Aldred and McKay (1998)
28Horton (2003)
35Fang (2010)

Separately, Knuth and Elkies (2021) independently verified and extended through n=31 the counts of n-vertex labeled graphs that are gracefully labeled trees.

An inductive approach to the conjecture is to delete a leaf and designate the graph vertex formerly adjacent to it as the root vertex of the remaining tree. It would therefore suffice to prove that every rooted tree having a graceful labeling admits an extension by one leaf at its root vertex that is also graceful. The singleton graph is graceful. Consequently, this extension property would prove the conjecture by mathematical induction.

GracefulTreeTheoremGapExtension

Following a suggestion of E. Pegg, Jr. (pers. comm., Aug. 12, 2026), one way to realize such an extension is to insert a gap at L in the graceful labeling by increasing every label greater than or equal to L by 1, then attaching a new leaf labeled L to the root vertex. Computation using exhaustive enumeration through 15 vertices, followed by certificate closure and targeted exact searches, found that every rooted tree type on at most 21 vertices has a gap and a graceful labeling for which adding the new leaf gives a graceful tree with one more graph vertex. In particular, this holds for all 35,221,832 types of rooted trees on 21 vertices (E. Weisstein, Aug. 15, 2026). The computation verifies the one-step extension property independently for every rooted tree with at most 21 vertices. This is not yet an inductive proof, since a proof would have to cover all sizes and might have to choose a new graceful labeling after each step. Indeed, the stronger requirement that the labeling produced by one extension itself support a prescribed second extension without relabeling already fails for rooted trees on 6 vertices. This does not contradict the one-step verification through 21 vertices.


See also

Graceful Graph, Graceful Labeling, Maximally Graceful Tree, Tree

Explore with Wolfram|Alpha

References

Aldred, R. E. L. and McKay, B. "Graceful and Harmonious Labellings of Trees." Bull. Inst. Combin. Appl. 23, 69-72, 1998.Bondy, J. A. and Murty, U. S. R. Graph Theory with Applications. New York: North Holland, p. 248, 1976.Cahit, I. "Are All Complete Binary Trees Graceful?" Amer. Math. Monthly 83, 35-37, 1976.Delorme, C.; Maheo, M.; Thuillier, H.; Koh, K. M.; and Teo, H. K. "Cycles with a Chord Are Graceful." J. Graph Th. 4, 409-415, 1980.Fang, W. "A Computational Approach to the Graceful Tree Conjecture." 19 Aug 2010. https://arxiv.org/abs/1003.3045.Gallian, J. "Dynamic Survey of Graph Labeling." Elec. J. Combin., Dynamic Survey DS6, Oct. 30, 2025. https://doi.org/10.37236/27.Gallian, J. A. "A Survey: Recent Results, Conjectures, and Open Problems in Labelling Graphs." J. Graph Th. 13, 491-504, 1989.Horton, M. "Graceful Trees: Statistics and Algorithms." Bachelor of Computing with Honours thesis. University of Tasmania, 2003. https://doi.org/10.25959/23212346.Knuth, D. E. §7.2.2.3 in The Art of Computer Programming, Vol. 4, Fascicle 7: Constraint Satisfaction. Boston, MA: Addison-Wesley, p. 24, 2025.Knuth, D. E. and Elkies, N. D. "Table of n, a(n) for n=1,...,31." 2021. https://oeis.org/A033472/b033472.txt.Nikoloski, Z.; Deo, N.; and Suraweera, F. "Generation of Graceful Trees." Congr. Numer. 157, 191-201, 2002.Seoud, M. A. and Wilson, R. J. "Some Disgraceful Graphs." Int. J. Math. Educ. Sci. Tech. 24, 435-441, 1993.Snevily, H. S. "Remarks on the Graceful Tree Conjecture." Preprint.Xie, L. T. and Liu, G. Z. "A Survey of the Problem of Graceful Trees." Qufu Shiyuan Xuebao 1, 8-15, 1984.

Referenced on Wolfram|Alpha

Graceful Tree Theorem

Cite this as:

Weisstein, Eric W. "Graceful Tree Theorem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/GracefulTreeTheorem.html

Subject classifications