OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..500
Index entries for linear recurrences with constant coefficients, signature (11,-52,140,-237,246,-92,-164,329,-268,44,143,-158,58,30,-44,14,5,-6,1,1).
FORMULA
G.f.: x*(1 - 6*x^2 - 2*x^3 + 20*x^4 - 26*x^5 + 133*x^6 - 412*x^7 + 353*x^8 - 8*x^9 - 62*x^10 + 230*x^11 - 218*x^12 + 42*x^13 + 86*x^14 - 132*x^15 + 36*x^16 + 60*x^17 - 19*x^18 + 2*x^19 + 4*x^20 - 2*x^21)/((1 - x)^3*(1 - 2*x - x^4)*(1 - 2*x + x^2 - x^3 - x^4)^2*(1 - 2*x - x^2 - 2*x^4 - x^5)). - Andrew Howroyd, Dec 23 2025
EXAMPLE
All solutions for n=2:
...0.0.0.0...0.0.0.1...1.0.0.0...1.0.0.1...1.1.0.0...1.1.0.1...1.1.1.0
...1.1.1.1...1.1.1.1...1.1.1.1...1.1.1.1...0.1.1.1...0.1.1.1...0.0.1.1
------
...1.1.1.0...1.1.1.1...1.1.1.1...0.1.1.1
...1.0.1.1...0.0.0.1...1.0.0.1...1.1.0.1
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 03 2009
EXTENSIONS
a(22) onward from Andrew Howroyd, Dec 23 2025
STATUS
approved
