OFFSET
4,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 4..500
FORMULA
E.g.f.: exp(Sum_{j=1..4} x^j/j!) - exp(Sum_{j=1..3} x^j/j!).
MAPLE
G:= proc(n, k) option remember; local j; if k>n then G(n, n)
elif n=0 then 1 elif k<1 then 0 else G(n-k, k);
for j from k-1 to 1 by -1 do %*(n-j)/j +G(n-j, k) od; % fi
end:
a:= n-> G(n, 4)-G(n, 3):
seq(a(n), n=4..30);
MATHEMATICA
nn=25; Drop[Range[0, nn]!CoefficientList[Series[(Exp[x^4/4!]-1)Exp[x+x^2/2!+x^3/3!], {x, 0, nn}], x], 4] (* Geoffrey Critzer, Oct 09 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 17 2013
STATUS
approved