OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000 (terms n = 1..210 from R. H. Hardin)
FORMULA
a(n) = 2*a(n-2) + 2*a(n-3) - a(n-4) - 4*a(n-5) + 2*a(n-7) - 2*a(n-9) + 4*a(n-11) + a(n-12) - 2*a(n-13) - 2*a(n-14) + a(n-16).
G.f.: 1 + x*(1 + 4*x + 5*x^2 + 4*x^3 + 7*x^5 + 7*x^6 + 2*x^7 - x^8 + x^9 + 4*x^10 + x^11 - 2*x^12 - 2*x^13 + x^15) / ((1 - x)^5*(1 + x)^3*(1 - x + x^2)*(1 + x + x^2)^3). - Colin Barker, Mar 02 2018
EXAMPLE
Some solutions for n=5:
..0..0..0....0..0..0....0..0..1....0..0..0....0..0..1....0..0..2....0..0..1
..0..0..2....0..0..1....0..0..2....0..0..1....0..0..1....0..0..2....0..1..1
..1..1..2....1..1..2....0..1..2....1..1..1....0..1..2....0..1..2....0..1..2
..1..1..2....1..1..2....1..1..2....1..2..2....1..1..2....1..1..2....0..1..2
..1..2..2....2..2..2....1..2..2....2..2..2....2..2..2....1..1..2....2..2..2
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Nov 29 2011
EXTENSIONS
a(0)=1 prepended by Alois P. Heinz, Mar 18 2024
STATUS
approved