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