OFFSET
1,1
COMMENTS
Column 4 of A251894.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = a(n-1) + 4*a(n-3) - 4*a(n-4) for n>9.
Empirical g.f.: 2*x*(640 - 375*x + 124*x^2 - 2291*x^3 + 1821*x^4 - 145*x^5 - 161*x^6 + 96*x^7 + 288*x^8) / ((1 - x)*(1 - 4*x^3)). - Colin Barker, Mar 20 2018
EXAMPLE
Some solutions for n=4:
..1..1..2..1..1..2....2..3..3..2..0..3....0..1..0..0..1..3....0..0..1..0..0..1
..3..0..1..0..0..1....0..2..2..0..2..2....1..3..1..1..3..1....1..1..3..1..1..2
..0..0..1..0..0..1....2..3..3..2..3..3....0..1..0..0..1..0....0..0..1..0..0..1
..1..1..3..1..1..2....2..3..3..2..3..3....0..1..0..0..1..0....0..0..1..0..0..1
..0..0..1..0..0..1....0..2..2..0..2..2....1..3..1..1..3..1....1..1..2..1..1..2
..3..0..1..0..0..1....2..3..3..2..0..3....3..1..0..0..1..0....0..0..1..0..0..1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 10 2014
STATUS
approved