OFFSET
8,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 8..1000
FORMULA
G.f.: (x^8/(1-x^8)-x^9/(1-x^9))/Product_{j>0}(1-x^j).
a(n) ~ exp(Pi*sqrt(2*n/3)) / (144*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=8, 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=8..60);
MATHEMATICA
b[n_, p_] := b[n, p] = If[n == 0, {1, 0}, If[p < 1, {0, 0}, Sum[Function[l, If[m == 8, 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, 8, 60}] (* Jean-François Alcover, Apr 30 2018, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 28 2013
STATUS
approved