OFFSET
0,3
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..500
FORMULA
G.f.: (1 + g(x) + g(x)^2 + g(x)^3) where g(x)/x is the g.f. of A122871.
EXAMPLE
a(4) = A001764(4) - 5 where the 5 trees excluded are those with one node connected to the other four.
PROG
(PARI) seq(n)={my(g=serreverse(x/(1+2*x+3*x^2) + O(x*x^n))); Vec(1 + g + g^2 + g^3)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Andrew Howroyd, Nov 21 2024
STATUS
approved