OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 10*a(n-2) - 24*a(n-4).
Conjectures from Colin Barker, Oct 17 2018: (Start)
G.f.: 4*x*(2 + 5*x)*(5 - 24*x^2) / ((1 - 2*x)*(1 + 2*x)*(1 - 6*x^2)).
a(n) = (-2)^n + 9*2^n + 6^((1/2)*(-1+n))*(12-12*(-1)^n + 5*sqrt(6) + 5*(-1)^n*sqrt(6)).
(End)
EXAMPLE
Some solutions for n=4:
3 2 2 4 2 0 4 2 4 3 1 3 0 4 2 4 1 4 4 1
0 4 3 0 1 4 0 3 0 4 3 0 3 2 3 0 4 2 1 3
3 2 0 2 4 2 3 1 1 0 2 4 0 4 2 4 0 3 3 0
0 4 3 0 1 4 0 3 0 4 4 1 1 0 3 0 2 0 0 2
4 3 0 2 2 0 2 0 2 1 1 3 0 4 0 2 1 4 3 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 05 2014
STATUS
approved