OFFSET
8,1
LINKS
Marko R. Riedel et al., Mathematics Stack Exchange, Trees with maximum degree three and three vertices of degree three.
FORMULA
a(n) = (1/8)*n!*binomial(n-2,n-8).
E.g.f.: x^8/(8*(1 - x)^7). - Stefano Spezia, Jun 16 2022
a(n) = 7*binomial(n,n-8)*(n-2)!. - Chai Wah Wu, Jun 16 2022
EXAMPLE
First term counts (the nodes are labeled for a total of 8! possibilities divided by eight automorphisms, 5040):
o
|
|
|
|
o
/ \
/ \
o o
/ \ / \
o o o o
MATHEMATICA
CoefficientList[Series[x^8/(8(1-x)^7), {x, 0, 23}], x]
Table[n!, {n, 0, 23}] (* Stefano Spezia, Jun 16 2022 *)
PROG
(Python)
from math import comb, factorial
def A355023(n): return 7*comb(n, n-8)*factorial(n-2) # Chai Wah Wu, Jun 16 2022
(PARI) a(n) = 7*binomial(n, n-8)*(n-2)! \\ Felix Fröhlich, Jun 17 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Marko Riedel, Jun 15 2022
STATUS
approved