OFFSET
1,3
REFERENCES
Knuth, D.E. Problem 97 in The Art of Computer Programing, Vol. 4, Section 7.2.2.3. In preparation.
LINKS
Eric Weisstein's World of Mathematics, Graceful Labeling.
Eric Weisstein's World of Mathematics, Isolated Point.
EXAMPLE
In the below, G: n stands for "G has n fundamentally distinct graceful labelings".
a(1) = 0 since K_1 is an isolated point.
a(2) = 1 since P_2: 1.
a(3) = 2 since P_3: 1, C_3: 1.
a(4) = 13 since K_1,3 (claw): 1, diamond: 4, P_4: 1, paw: 5, C_4: 1, K_4: 1, and C_3+K_1: 0 (since it contains an isolated point).
MATHEMATICA
{0, 1} ~ Join ~ Table[Total[GraphData[#, "GracefulLabelingCount"] & /@ Select[GraphData["Graceful", n], GraphData[#, "MinimumVertexDegree"] > 0 &]], {n, 3, 7}]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Eric W. Weisstein, Dec 26 2024
EXTENSIONS
a(9) from Eric W. Weisstein, Nov 12 2025
a(10) from Eric W. Weisstein, Feb 27 2026
STATUS
approved
