login
A394759
Number of graceful labelings of the balanced bistar tree on n vertices.
0
1, 2, 2, 6, 6, 14, 6, 22, 22, 48, 18, 80, 80
OFFSET
2,2
COMMENTS
Let B(a,b) be the tree obtained by joining the centers of two stars with a and b leaves.
For n >= 2, define a = ceil((n-2)/2), b = floor((n-2)/2). Then a(n) is the number of graceful labelings of B(a,b).
A graceful labeling assigns labels 0,1,...,n-1 to the vertices so that all edge differences are distinct.
REFERENCES
Douglas B. West, Introduction to Graph Theory, Pearson Education Pte. Ltd, 2002, page 81.
LINKS
Igor Blokhin, Graceful Prüfer Codes (Python repository).
EXAMPLE
For n=4 there are 2 such labelings: 1--2--0--3 and 0--3--1--2, so a(4)=2.
CROSSREFS
Cf. A033472.
Sequence in context: A228315 A120690 A165124 * A288302 A286409 A285610
KEYWORD
nonn,hard,more,new
AUTHOR
Igor Blokhin, Mar 31 2026
STATUS
approved