OFFSET
1,2
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 2*a(n-1) + a(n-2) - 2*a(n-3) - a(n-4) for n>7.
Empirical g.f.: x^2*(1 - x)*(1 + x)*(2 - x - 2*x^2 - x^3) / (1 - x - x^2)^2. - Colin Barker, Feb 13 2019
EXAMPLE
All solutions for n=4:
..0..0. .0..1. .0..0. .0..0. .0..0. .0..0. .0..1. .0..0
..0..1. .1..1. .0..0. .0..0. .0..0. .1..0. .0..0. .0..0
..0..0. .1..1. .0..1. .1..0. .0..0. .0..0. .0..0. .0..0
..0..0. .1..1. .0..0. .0..0. .1..0. .0..0. .0..0. .0..1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 29 2016
STATUS
approved