OFFSET
1,3
COMMENTS
a(n) is the number of "merger histories" of n elements, where at most 4 elements can merge at the same time (see A256006).
LINKS
Emily H. Dickey and Noah A. Rosenberg, Labeled histories and maximally probable labeled topologies with multifurcation, Discr. Appl. Math. 391 (2026), 192-203. See Table 1.
FORMULA
a(n) = (n*(n-1)/2)*a(n-1) + (n*(n-1)*(n-2)/6)*a(n-2) + (n*(n-1)*(n-2)*(n-3)/24)*a(n-3) for n>=4.
EXAMPLE
For n=3, the 4 labeled histories are: (1) merge A with B, then merge the result with C; (2) merge A with C, then merge the result with B; (3) merge B with C, then merge the result with A; (4) merge A, B, and C simultaneously.
For n=4, the 29 labeled histories are: the 18 labeled histories with only binary mergers (see A006472(4)); the 6 labeled histories that have a binary merger then a ternary merger; the 4 labeled histories that have a ternary merger then a binary merger; and the 1 labeled history that merges all four elements simultaneously.
MATHEMATICA
RecurrenceTable[{A[n]==Binomial[n, 2] A[n-1] + Binomial[n, 3] A[n-2] + Binomial[n, 4] A[n-3], A[0]==0, A[1]==1, A[2]==1}, A, {n, 20}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Noah A Rosenberg, May 15 2026
STATUS
approved
