OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 4*a(n-1) + 4*a(n-2) for n>3.
Conjectures from Colin Barker, Jan 31 2019: (Start)
G.f.: 4*x*(1 + 8*x + 4*x^2) / (1 - 4*x - 4*x^2).
a(n) = 2*((2-2*sqrt(2))^n + (2*(1+sqrt(2)))^n) for n>1.
(End)
EXAMPLE
Some solutions for n=5:
..0..1..2..1. .0..1..0..1. .0..1..0..1. .0..1..0..1. .0..1..2..0
..2..0..1..2. .0..2..1..0. .0..1..2..0. .2..1..2..0. .2..1..2..0
..1..2..1..2. .1..0..2..0. .1..2..1..2. .2..0..1..2. .1..0..1..0
..0..2..0..1. .1..0..2..1. .1..0..2..0. .0..1..0..2. .0..2..0..2
..1..0..2..0. .2..1..0..2. .2..1..0..1. .1..2..1..2. .2..1..2..1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jul 17 2016
STATUS
approved