OFFSET
1,3
COMMENTS
LINKS
Zak Seidov, Table of n, a(n) for n = 1..45.
MATHEMATICA
a[n_, w_:{0}] := If[n == 0, Total[w]!/Times @@ (w!), Sum[a[n-k, Append[w, k]], {k, 1 + Last@w, Min[9, n]}]]; Array[a, 45] (* Giovanni Resta, May 19 2013 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Jan 02 2007
STATUS
approved