OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..500
MAPLE
b:= proc(n, i) option remember;
`if`(n=0, 1, `if` (i<1, 0,
max(seq(b(n-i*j, i-1) *n!/i!^j/(n-i*j)!/j!, j=0..n/i))))
end:
a:= n-> n!/b(n, n):
seq(a(n), n=0..50); # Alois P. Heinz, Jun 01 2012
MATHEMATICA
b[0, _] = 1; b[_, _?NonPositive] = 0; b[n_, i_] := b[n, i] = Max[Table[b[n - i*j, i - 1]*n!/i!^j/(n - i*j)!/j!, {j, 0, n/i}]]; a[n_] := n!/b[n, n]; Table[a[n], {n, 0, 50}] (* Jean-François Alcover, Jan 24 2014, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Feb 23 2005
STATUS
approved