OFFSET
0,4
COMMENTS
Number of star-like trees (trees of diameter <= 4) with n edges. Picture of the 12 star-like trees of 7 edges at Bomfim's link. - Washington Bomfim, Feb 13 2011
Number of trees with n edges and at most one node of degree > 2. - Gabriel Burns, Nov 01 2016
LINKS
Robert Israel, Table of n, a(n) for n = 0..2000
Washington Bomfim, Star-like trees of 7 edges and correspondent partitions
Arnold Knopfmacher, Robert F. Tichy, Stephan Wagner and Volker Ziegler, Graphs, Partitions and Fibonacci Numbers (See Theorem 14.)
Stephan Wagner, Graph-theoretical enumeration and digital expansions: an analytic approach, Dissertation, Fakult. f. Tech. Math. u. Tech. Physik, Tech. Univ. Graz, Austria, Feb., 2006.
FORMULA
a(n) = p(n) - floor(n/2), where p(n) = number of partitions of n = A000041(n).
MAPLE
seq(combinat:-numbpart(n) - floor(n/2), n=0..50); # Robert Israel, Nov 07 2016
MATHEMATICA
f[n_] := PartitionsP@ n - Floor[n/2]; Array[f, 45, 0]
PROG
(PARI) a(n) = numbpart(n) - n\2; \\ Michel Marcus, Nov 01 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 16 2001
STATUS
approved