|
|
A295637
|
|
Maximum k such that there are k nonisomorphic n-vertex trees with the same degree sequence.
|
|
1
|
|
|
1, 1, 1, 1, 1, 1, 2, 3, 5, 9, 17, 33, 73, 174, 364, 759, 1859, 4177, 8715, 21053, 49119, 113956, 269059, 711124, 1750732
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,7
|
|
LINKS
|
|
|
EXAMPLE
|
There are 2 nonisomorphic trees with degree sequence [1, 1, 1, 2, 2, 3]. It is impossible to improve on this, so a(6) = 2. [Stern, p. 39]
|
|
PROG
|
from sage.graphs.trees import TreeIterator
from collections import Counter
a295637 = lambda n: max( Counter(tuple(sorted(T.degree())) for T in TreeIterator(n)).values() )
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|