The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A301365 Regular triangle where T(n,k) is the number of strict trees of weight n with k leaves. 2
1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 2, 2, 1, 0, 1, 2, 4, 4, 1, 0, 1, 3, 7, 9, 7, 1, 0, 1, 3, 10, 19, 20, 11, 1, 0, 1, 4, 15, 35, 51, 43, 16, 1, 0, 1, 4, 18, 55, 104, 123, 84, 22, 1, 0, 1, 5, 25, 84, 196, 298, 284, 153, 29, 1, 0, 1, 5, 30, 120, 331, 624, 783, 614, 260, 37 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,12
COMMENTS
A strict tree of weight n > 0 is either a single node of weight n, or a finite sequence of two or more strict trees with strictly decreasing weights summing to n.
LINKS
EXAMPLE
Triangle begins:
1
1 0
1 1 0
1 1 1 0
1 2 2 1 0
1 2 4 4 1 0
1 3 7 9 7 1 0
1 3 10 19 20 11 1 0
1 4 15 35 51 43 16 1 0
The T(7,3) = 7 strict trees: ((51)1), ((42)1), ((41)2), ((32)2), (4(21)), ((31)3), (421).
MATHEMATICA
strtrees[n_]:=Prepend[Join@@Table[Tuples[strtrees/@ptn], {ptn, Select[IntegerPartitions[n], Length[#]>1&&UnsameQ@@#&]}], n];
Table[Length[Select[strtrees[n], Count[#, _Integer, {-1}]===k&]], {n, 12}, {k, n}]
PROG
(PARI) A(n)={my(v=vector(n)); for(n=1, n, v[n] = y + polcoef(prod(k=1, n-1, 1 + v[k]*x^k + O(x*x^n)), n)); vector(n, k, Vecrev(v[k]/y, k))}
my(T=A(10)); for(n=1, #T, print(T[n])) \\ Andrew Howroyd, Aug 26 2018
CROSSREFS
Row sums are A273873.
Sequence in context: A309416 A251418 A172101 * A109246 A037890 A037898
KEYWORD
nonn,tabl
AUTHOR
Gus Wiseman, Mar 19 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 16:38 EDT 2024. Contains 372548 sequences. (Running on oeis4.)