OFFSET
0,4
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = A294775(n,10).
MAPLE
b:= proc(n, r) option remember; `if`(n<r, 0, `if`(r=0,
`if`(n=0, 1, 0), add(b(n-j, 11*(r-j)), j=0..min(n, r))))
end:
a:= n-> b(10*n+1, 1):
seq(a(n), n=0..40);
MATHEMATICA
b[n_, r_] := b[n, r] = If[n<r, 0, If[r==0, If[n==0, 1, 0], Sum[b[n-j, 11(r-j)], {j, 0, Min[n, r]}]]];
a[n_] := b[10n+1, 1];
Array[a, 40, 0] (* Jean-François Alcover, Jul 21 2018, from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Nov 13 2017
STATUS
approved