OFFSET
1,2
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
Index entries for linear recurrences with constant coefficients, signature (6,5,46,61,-10,-1,-10).
FORMULA
Empirical: a(n) = 6*a(n-1) + 5*a(n-2) + 46*a(n-3) + 61*a(n-4) - 10*a(n-5) - a(n-6) - 10*a(n-7).
Empirical g.f.: x*(1 + 35*x + 86*x^2 + 48*x^3 - 21*x^4 - 11*x^5 - 10*x^6) / (1 - 6*x - 5*x^2 - 46*x^3 - 61*x^4 + 10*x^5 + x^6 + 10*x^7). - Colin Barker, Jul 25 2018
The above empirical formulas confirmed using the transfer matrix method. - Andrew Howroyd, Jul 17 2026
EXAMPLE
Some solutions for n=3:
..1..1..0....0..1..1....0..1..1....1..1..1....1..1..1....0..1..0....0..1..0
..0..1..0....0..1..1....1..1..0....1..1..1....0..0..0....0..0..1....1..1..0
..0..0..1....0..1..0....1..0..0....0..0..1....0..1..1....0..1..1....1..1..1
MATHEMATICA
LinearRecurrence[{6, 5, 46, 61, -10, -1, -10}, {1, 41, 337, 2321, 17537, 134809, 1023441}, 25] (* Paolo Xausa, Jul 18 2026 *)
PROG
(PARI) Vec(x*(1 + 35*x + 86*x^2 + 48*x^3 - 21*x^4 - 11*x^5 - 10*x^6) / (1 - 6*x - 5*x^2 - 46*x^3 - 61*x^4 + 10*x^5 + x^6 + 10*x^7) + O(x^26)) \\ Andrew Howroyd, Jul 17 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
R. H. Hardin, Nov 11 2012
EXTENSIONS
New name from Andrew Howroyd, Jul 15 2026
STATUS
approved
