OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 5*a(n-2) - 4*a(n-4).
Conjectures from Colin Barker, Oct 16 2018: (Start)
G.f.: 4*x*(8 + 17*x - 8*x^2 - 18*x^3) / ((1 - x)*(1 + x)*(1 - 2*x)*(1 + 2*x)).
a(n) = (4 + (-2)^n + 49*2^n) / 3 for n even.
a(n) = ((-2)^n + 49*2^n) / 3 for n odd.
(End)
EXAMPLE
Some solutions for n=4:
3 2 3 2 0 1 1 3 4 3 2 3 4 2 1 0 1 3 0 2
2 0 2 0 2 4 0 1 2 0 0 2 1 0 4 2 0 1 2 3
4 1 4 3 1 2 2 4 4 3 2 3 4 2 1 0 2 4 0 2
2 0 3 1 2 4 0 1 2 0 0 2 1 0 3 1 1 2 3 4
4 3 4 3 0 3 1 3 4 1 3 4 4 2 1 0 2 4 0 2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 01 2014
STATUS
approved