OFFSET
0,4
COMMENTS
Let S be the k-th subset of [n-1]. T(n,k) is the number of maximal chains in the S-rank selected poset of the Boolean lattice on [n]. See Stanley reference below.
REFERENCES
Richard Stanley, Enumerative Combinatorics, Volume 1, Second Edition, Section 3.13.
LINKS
Alois P. Heinz, Rows n = 0..15, flattened
FORMULA
Let S = {s_1<s_2<...<s_k}. T(n,S) = multinomial(n;s_1,s_2-s_1,s_3-s_2,...,n-s_k). See Stanley reference above and Example 2.2.4.
T(n,S) = Sum_A335845(n,T) where the sum is over every subset T of S.
EXAMPLE
Triangle begins:
1;
1;
1, 2;
1, 3, 3, 6;
1, 4, 6, 4, 12, 12, 12, 24;
1, 5, 10, 10, 5, 20, 30, 20, 30, 30, 20, 60, 60, 60, 60, 120;
...
MAPLE
T:= proc(n) option remember; uses combinat; `if`(n=0, 1, map(l->
`if`(l=[], 1, multinomial(n, l[1], l[i]-l[i-1]$i=2..nops(l),
n-l[-1])), [seq(choose([$1..n-1], i)[], i=0..n-1)])[])
end:
seq(T(n), n=0..6); # Alois P. Heinz, Jan 27 2026
MATHEMATICA
descentset[permutation_] := Flatten[Position[Sign[Differences[permutation]], -1]]; alpha[n_, subset_] := Select[Permutations[Range[n]], MemberQ[Subsets[subset], descentset[#]] &] // Length; flagfvectorboolean[n_] := Map[alpha[n, #] &, Subsets[Range[n - 1]]]; Table[flagfvectorboolean[n], {n, 0, 6}]
CROSSREFS
KEYWORD
AUTHOR
Geoffrey Critzer, Jan 27 2026
STATUS
approved
