OFFSET
10,21
LINKS
Joerg Arndt and Alois P. Heinz, Table of n, a(n) for n = 10..1000
MAPLE
b:= proc(n, i, k) option remember; `if`(n=0, 1, `if`(i<1, 0,
b(n, i-1, k) +add(b(n-i*j, i-1, k), j=max(1, k)..n/i)))
end:
a:= n-> b(n$2, 10) -b(n$2, 11):
seq(a(n), n=10..100);
MATHEMATICA
b[n_, i_, k_] := b[n, i, k] = If[n == 0, 1, If[i < 1, 0, b[n, i - 1, k] + Sum[b[n - i*j, i - 1, k], {j, Max[1, k], n/i}]]];
a[n_] := b[n, n, 10] - b[n, n, 11];
Table[a[n], {n, 10, 100}] (* Jean-François Alcover, May 01 2018, translated from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joerg Arndt and Alois P. Heinz, Jul 10 2014
STATUS
approved