OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 4*a(n-1) + a(n-2) - 4*a(n-3) for n>4.
Conjectures from Colin Barker, Feb 05 2019: (Start)
G.f.: x*(5 - 9*x - 4*x^2 + 2*x^3) / ((1 - x)*(1 + x)*(1 - 4*x)).
a(n) = (8 + 27*4^n) / 40 for n>1 and even.
a(n) = (72 + 27*4^n) / 40 for n>1 and odd.
(End)
EXAMPLE
Some solutions for n=4:
..0..1..2..1. .0..1..0..1. .0..1..0..1. .0..1..0..2. .0..1..2..1
..0..1..2..0. .0..2..0..1. .2..1..2..1. .0..2..1..2. .0..1..2..0
..2..1..2..0. .0..2..0..2. .2..1..0..2. .1..2..0..2. .0..1..2..1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 28 2016
STATUS
approved