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