OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,0,0,0,0,0,0,0,0,0,-1).
FORMULA
a(n)=sum((-1)^j*binomial(n-k*j,n-(k+1)*j)*2^(n-(k+1)*j),j=0..floor(n/(k+1))) with k=10.
G.f: f(z)=1/(1-2*z+z^(11)).
a(n+11)=2*a(n+10)-a(n).
EXAMPLE
a(12)=C(12,12)*2^12-C(2,1)*2^1=4092.
MAPLE
k:=10:taylor(1/(1-2*z+z^(k+1)), z=0, 30); for k from 0 to 20 do for n from 0 to 30 do b(n):=sum((-1)^j*binomial(n-k*j, n-(k+1)*j)*2^(n-(k+1)*j), j=0..floor(n/(k+1))):od:k: seq(b(n), n=0..30):od;
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Jan 31 2010
STATUS
approved