OFFSET
8,1
LINKS
Marko R. Riedel et al., Trees with maximum degree three and three vertices of degree three, Mathematics Stack Exchange, 2022.
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
From Amiram Eldar, Oct 23 2025: (Start)
Sum_{n>=8} 1/a(n) = 154267/11025 - 524*e/105 + 34*(gamma - Ei(1))/105, where e = A001113, Ei(1) = A091725, and gamma = A001620.
Sum_{n>=8} (-1)^n/a(n) = 3092*(gamma - Ei(-1))/35 - 368/(7*e) - 187549/3675, where Ei(-1) = -A099285. (End)
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,easy
AUTHOR
Marko Riedel, Jun 15 2022
STATUS
approved
