OFFSET
0,3
REFERENCES
W. C. Yang (yang(AT)math.wisc.edu), Derivatives of self-compositions of functions, preprint, 1997.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
W. C. Yang, Derivatives are essentially integer partitions, Discrete Mathematics, 222(1-3), July 2000, 235-245.
FORMULA
If a(n,m) = number of terms in m-derivative of a function composed with itself n times, p(n,k) = number of partitions of n into k parts, then a(n,m) = sum_{i=0..m} p(m,i)*a(n-1,i).
MATHEMATICA
b[n_, i_, k_] := b[n, i, k] = If[n<k, 0, If[n==0, 1, If[i<1, 0, Sum[b[n-i*j, i-1, k-j], {j, 0, Min[n/i, k]}]]]];
a[n_, k_] := a[n, k] = If[k==1, 1, Sum[b[n, n, i]*a[i, k-1], {i, 0, n}]];
a[n_] := a[n, 8];
Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Apr 28 2017, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Winston C. Yang (yang(AT)math.wisc.edu)
STATUS
approved