OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..5000 (first 500 terms from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (1,1,0,-1).
FORMULA
G.f.: (x^2+x+1)/((x-1)*(x^3+x^2-1)). - R. J. Mathar, Nov 28 2011
EXAMPLE
All solutions for N=6
001001 001010 010010 010100 010101 100100 100101 101001 101010 110010
110100 110101 111001 111010 111100 111101 111110 111111
MATHEMATICA
CoefficientList[Series[(x^2 + x + 1)/((x - 1) (x^3 + x^2 - 1)), {x, 0, 44}], x] (* Michael De Vlieger, Oct 11 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 12 2009
EXTENSIONS
Edited by Alois P. Heinz, Oct 11 2017
STATUS
approved