OFFSET
10,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 10..1000
FORMULA
G.f.: (x^10/(1-x^10)-x^11/(1-x^11))/Product_{j>0}(1-x^j).
a(n) ~ exp(Pi*sqrt(2*n/3)) / (220*Pi*sqrt(2*n)). - Vaclav Kotesovec, May 24 2018
MAPLE
b:= proc(n, p) option remember; `if`(n=0, [1, 0], `if`(p<1, [0, 0],
add((l->`if`(m=10, l+[0, l[1]], l))(b(n-p*m, p-1)), m=0..n/p)))
end:
a:= n-> b(n, n)[2]:
seq(a(n), n=10..60);
MATHEMATICA
b[n_, p_] := b[n, p] = If[n == 0, {1, 0}, If[p < 1, {0, 0}, Sum[Function[l, If[m == 10, l + {0, l[[1]]}, l]][b[n - p*m, p - 1]], {m, 0, n/p}]]];
a[n_] := b[n, n][[2]];
Table[a[n], {n, 10, 60}] (* Jean-François Alcover, Apr 30 2018, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 28 2013
STATUS
approved