OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 4*a(n-3) - 4*a(n-6) + a(n-9) for n>12.
Empirical g.f.: x*(3020 + 1067*x + 963*x^2 - 10989*x^3 - 2963*x^4 - 2185*x^5 + 9747*x^6 + 1646*x^7 + 710*x^8 - 2288*x^9 - 256*x^10 - 6*x^11) / ((1 - x)*(1 + x + x^2)*(1 - 3*x^3 + x^6)). - Colin Barker, Dec 03 2018
EXAMPLE
Some solutions for n=4:
..1..0..2..1..3..2..1....2..3..0..2..1..0..2....0..2..3..0..0..3..0
..0..0..0..3..0..0..3....0..1..2..0..1..2..3....2..1..3..2..1..3..2
..0..1..2..0..1..2..0....0..0..0..0..0..0..3....0..1..2..0..1..2..0
..1..3..2..1..3..2..1....2..1..0..2..1..0..2....0..0..3..0..0..3..0
..3..0..0..3..0..0..3....0..1..2..0..1..2..3....2..1..3..2..1..3..1
..0..1..2..0..1..2..0....0..0..0..0..0..0..3....0..1..2..0..1..2..3
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 17 2014
STATUS
approved