OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..75
MAPLE
g():= seq(convert(n, base, 2)[1..5], n=33..63):
b:= proc(l) option remember;
`if`(l[1]=0, 1, add(b(sort(l-h)), h=g()))
end:
a:= n-> b([n$5]):
seq(a(n), n=0..12);
MATHEMATICA
g[] = Table[Reverse[IntegerDigits[n, 2]][[;; 5]], {n, 2^5 + 1, 2^6 - 1}];
b[l_] := b[l] = If[l[[1]] == 0, 1, Sum[b[Sort[l - h]], {h, g[]}]];
a[n_] := b[Table[n, {5}]];
a /@ Range[0, 12] (* Jean-François Alcover, Apr 25 2020, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 11 2015
STATUS
approved