OFFSET
1,4
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..200
V. P. Johnson, Enumeration Results on Leaf Labeled Trees, Ph. D. Dissertation, Univ. Southern Calif., 2012.
MAPLE
b:= proc(n, k) option remember; `if`(n<2, k*n, `if`(n::odd, 0,
(t-> t*(1-t)/2)(b(n/2, k)))+add(b(i, k)*b(n-i, k), i=1..n/2))
end:
a:= n-> (k-> add((-1)^i*binomial(k, i)*b(n, k-i), i=0..k))(4):
seq(a(n), n=1..30); # Alois P. Heinz, Sep 07 2019
MATHEMATICA
A[n_, k_] := A[n, k] = If[n < 2, k n, If[OddQ[n], 0, (# (1 - #)/2)&[A[n/2, k]]] + Sum[A[i, k] A[n - i, k], {i, 1, n/2}]];
T[n_, k_] := Sum[(-1)^i Binomial[k, i] A[n, k - i], {i, 0, k}];
a[n_] := T[n, 4];
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 22 2012
EXTENSIONS
Terms a(11) and beyond from Andrew Howroyd, Sep 23 2018
STATUS
approved