OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..288
FORMULA
EXAMPLE
a(2) = 13: 1234, 123|4, 124|3, 12|34, 12|3|4, 134|2, 13|24, 13|2|4, 14|23, 1|234, 1|23|4, 14|2|3, 1|24|3.
MAPLE
b:= proc(n) option remember; expand(`if`(n=0, 1,
x*add(b(n-j)*binomial(n-1, j-1), j=1..n)))
end:
a:= n-> add(coeff(b(n), x, j)*(j+1)^n, j=0..n):
seq(a(n), n=0..21);
MATHEMATICA
A367820[n_]:=Sum[StirlingS2[n, j](j+1)^n, {j, 0, n}];
Array[A367820, 25, 0] (* Paolo Xausa, Dec 04 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Dec 01 2023
STATUS
approved