OFFSET
1,12
COMMENTS
Column k=4 of A243978.
LINKS
Joerg Arndt and Alois P. Heinz, Table of n, a(n) for n = 1..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, 4) -b(n$2, 5):
seq(a(n), n=1..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, 4] - b[n, n, 5];
Array[a, 100] (* Jean-François Alcover, May 01 2018, translated from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joerg Arndt and Alois P. Heinz, Jun 29 2014
STATUS
approved