OFFSET
0,6
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-4,-2,6,-4,-1,2,-1)
FORMULA
G.f.=z^4/(1-2z+z^3-z^4)^2.
+(-n+4)*a(n) +2*(n-3)*a(n-1) +(-n+1)*a(n-3) +n*a(n-4)=0. - R. J. Mathar, Jul 26 2022
EXAMPLE
a(5)=4 because we have 01100,01101,00110 and 10110.
MAPLE
G:=z^4/(1-2*z+z^3-z^4)^2: Gser:=series(G, z=0, 37): seq(coeff(Gser, z, n), n=0..34);
CROSSREFS
KEYWORD
nonn
AUTHOR
Emeric Deutsch, May 04 2006
STATUS
approved