OFFSET
1,1
COMMENTS
Row 4 of A208993.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 3*a(n-1) - 2*a(n-2) - 2*a(n-3) + 3*a(n-4) - a(n-5).
Conjectures from Colin Barker, Jul 07 2018: (Start)
G.f.: x*(2 + x - x^2 + 3*x^3 - x^4) / ((1 - x)^4*(1 + x)).
a(n) = (12 + 8*n + 6*n^2 + 4*n^3) / 12 for n even.
a(n) = (6 + 8*n + 6*n^2 + 4*n^3) / 12 for n odd.
(End)
EXAMPLE
Some solutions for n=6:
-3 -3 -4 -3 -2 -2 -4 -2 -1 -3 -2 -2 -4 -2 -3 -2
0 -1 -1 1 -2 0 0 2 -1 1 4 1 -1 0 3 0
2 2 4 3 4 0 5 0 1 2 -1 2 3 -1 2 2
1 2 1 -1 0 2 -1 0 1 0 -1 -1 2 3 -2 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 04 2012
STATUS
approved