OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000 (terms 1..56 from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-2,-6,6,-2,-1,1).
FORMULA
Empirical: a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 2*a(n-4) - 6*a(n-5) + 6*a(n-6) - 2*a(n-7) - a(n-8) + a(n-9) for n>=13.
Empirical g.f.: x*(1 + 2*x^2 - 6*x^3 + 10*x^4 - 4*x^5 - 2*x^6 + 4*x^7 + 6*x^8 + 2*x^9 - 3*x^10 - 2*x^11) / ((1 - x)^2*(1 - x + x^2 + x^3)*(1 - 2*x - x^4)). - Colin Barker, Mar 25 2018
Formulas confirmed using the transfer matrix method. - Andrew Howroyd, Dec 24 2025
EXAMPLE
All solutions for n=3:
...1.0.0...1.0.0...1.0.0...1.0.0...1.1.0...1.1.0...1.1.1...1.1.1...1.1.0
...1.1.0...1.1.1...1.0.0...1.0.1...1.0.0...1.0.1...1.0.0...1.0.1...0.1.0
...0.1.1...0.0.1...1.1.1...1.1.1...1.1.1...1.1.1...1.1.1...1.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.1
...0.1.1...0.0.1...0.0.1...1.0.1...1.0.1...1.0.1...1.0.1...0.0.1
...0.0.1...0.0.1...0.1.1...0.0.1...0.1.1...1.0.1...1.1.1...1.1.1
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 03 2009
STATUS
approved
