Counting graceful labelings of trees: A theoretical and empirical study

The conjecture that every tree has a graceful labeling has inspired a lot of good mathematics since it was first articulated in 1967. By analyzing an algorithm whose essence is to run through all n ! graceful graphs on n + 1 vertices and select the trees, we prove that b n , the number of all graceful labelings on trees on n edges, has growth at least as rapid as O ( ( n 6 ) ( 24 ) - n ( n ! ) ) . Consequently the average number of graceful labelings for a tree on n edges also grows superexponentially. We give a heuristic argument why b n / n ! would be expected to be O ( n α β - n ) with β ? e / 2 = 1.359 ? . Empirically we show that β ? 1.575 based on published values of { b n } . By implementing the algorithm we generated a database consisting of the entire set of graceful labelings for all trees T on 16 or fewer edges, sorted by T . Letting g ( T ) denote the number of graceful labelings of a tree T , for each n ? 16 scatter diagrams reveal a close to linear relationship between ln ( g ( T ) ) and ln | A u t ( T ) | , | A u t ( T ) | being the size of the automorphism group of T . For 10 ? n ? 16 , linear regression demonstrates that ln | A u t ( T ) | and just four other graph invariants account for over 96% of the variance in ln ( g ( T ) ) . For the 48,629 trees with n = 16 , the root mean square error in predicting ln ( g ( T ) ) is 0.236 whereas g ( T ) ranges over seven orders of magnitude. A simple criterion is developed to predict which trees have an exceptionally large number of graceful labelings. Trees whose number of graceful labelings is exceptionally small fall into two already known families of caterpillar graphs. Over the full set of graceful labelings for a given n , the distribution of vertex degrees associated with each label is very close to Poisson, with the exception of labels 0 and n . We present two new families of trees that are proved not to be k -ubiquitously graceful. A variety of new questions suggested by the results are given.

[1]  David R. Wood,et al.  Extremal graph theory for metric dimension and diameter , 2010 .

[2]  Ljiljana Brankovic,et al.  Towards the Graceful Tree Conjecture: A Survey , 2004 .

[3]  R. Otter The Number of Trees , 1948 .

[4]  David A. Sheppard,et al.  The factorial representation of balanced labelled graphs , 1976, Discret. Math..

[5]  J. Bell,et al.  Counting Rooted Trees: The Universal Law $t(n)\,\sim\,C \rho^{-n} n^{-3/2}$ , 2006 .

[6]  Joseph A. Gallian,et al.  A Dynamic Survey of Graph Labeling , 2009, The Electronic Journal of Combinatorics.

[7]  Robert W. Robinson,et al.  The distribution of degrees in a large random tree , 1975, Discret. Math..

[8]  Robert Brignall Wreath Products of Permutation Classes , 2007, Electron. J. Comb..

[9]  Stanley Burris,et al.  Counting Rooted Trees: The Universal Law t(n)~C ρ-n n-3/2 , 2006, Electron. J. Comb..

[10]  Frank Van Bussel 0-Centred and 0-ubiquitously graceful trees , 2004, Discret. Math..

[11]  Richard J. Nowakowski,et al.  Ordered graceful labellings of the 2-star , 2001, Discret. Math..

[12]  Michal Adamaszek Efficient enumeration of graceful permutations , 2006 .

[13]  Wenjie Fang A Computational Approach to the Graceful Tree Conjecture , 2010, ArXiv.

[14]  Claude Berge Theory of graphs and its applications , 1962 .

[15]  Michael E. Hoffman Combinatorics of rooted trees and Hopf algebras , 2003 .

[16]  Robin W. Whitty Rook polynomials on two-dimensional surfaces and graceful labellings of graphs , 2008, Discret. Math..

[17]  Charles J. Colbourn,et al.  Linear Time Automorphism Algorithms for Trees, Interval Graphs, and Planar Graphs , 1981, SIAM J. Comput..

[18]  Svante Janson,et al.  Poisson convergence and poisson processes with applications to random graphs , 1987 .

[19]  Claude Berge,et al.  The theory of graphs and its applications , 1962 .

[20]  M. T. Edwards,et al.  A SURVEY OF GRACEFUL TREES , 2006 .

[21]  Pavel Hrnciar,et al.  All trees of diameter five are graceful , 2001, Discret. Math..

[22]  Robert E. L. Aldred,et al.  A note on the number of graceful labellings of paths , 2003, Discret. Math..

[23]  Shizhen Zhao,et al.  All Trees of Diameter Four Are Graceful , 1989 .

[24]  G. Nemes,et al.  New asymptotic expansion for the Gamma function , 2010 .

[25]  Lih-Hsing Hsu,et al.  Applicable Analysis and Discrete Mathematics , 2015 .