OFFSET
0,6
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,3,-4,-5,2).
FORMULA
G.f.: x^4/((1 - 2*x)*(1 - 3*x^2 - 2*x^3 + x^4)). [Corrected by Georg Fischer, May 15 2019]
EXAMPLE
a(6)=7 because of 000011, 001100, 001101, 001111, 010011, 100110, 110011.
MATHEMATICA
CoefficientList[Series[x^4/((1 - 2 x) (1 - 3 x^2 - 2 x^3 + x^4)), {x, 0, 33}], x] (* Georg Fischer, May 15 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Len Smiley, Nov 24 2001
EXTENSIONS
Offset changed from 4 to 0 by Georg Fischer, May 15 2019
STATUS
approved