OFFSET
1,1
COMMENTS
Column 3 of A295275.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
Robert Israel, Maple-assisted proof of formula
Index entries for linear recurrences with constant coefficients, signature (2, 10, 20, 17, -1, -9, -12, -1, -1, 1).
FORMULA
Empirical: a(n) = 2*a(n-1) + 10*a(n-2) + 20*a(n-3) + 17*a(n-4) - a(n-5) - 9*a(n-6) - 12*a(n-7) - a(n-8) - a(n-9) + a(n-10).
Empirical formula is true: see link. - Robert Israel, Nov 19 2017
EXAMPLE
Some solutions for n=7:
0 1 0 1 0 0 0 0 0 1 0 0 0 1 0 0 1 1 0 0 0
1 1 1 0 0 1 0 0 1 0 1 0 1 0 0 1 0 0 1 0 0
0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1
1 0 0 1 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 1 0
1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0
0 1 1 0 1 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0
PROG
(PARI) Vec(x*(7+19*x+28*x^2+13*x^3-6*x^4-17*x^5-11*x^6-x^7+x^9)/(1-2*x-10*x^2-20*x^3-17*x^4+x^5+9*x^6+12*x^7+x^8+x^9-x^10)+O(x^99)) \\ Charles R Greathouse IV, May 31 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
R. H. Hardin, Nov 19 2017
STATUS
approved
