OFFSET
1,2
COMMENTS
Row 4 of A209007.
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*(1 - 2*x^2 + 3*x^3 - x^4) / ((1 - x)^4*(1 + x)).
a(n) = (4*n^3 + 6*n^2 + 20*n + 48) / 48 for n even.
a(n) = (4*n^3 + 6*n^2 + 20*n + 18) / 48 for n odd.
(End)
EXAMPLE
Some solutions for n=6:
-2 0 -3 -3 -1 -3 -2 -3 -2 -3 -1 -2 -1 -2 -1 -2
-2 0 0 -2 1 -3 1 -1 -1 1 -1 1 0 0 0 2
2 0 3 3 -1 3 0 3 2 3 1 1 -1 0 0 0
2 0 0 2 1 3 1 1 1 -1 1 0 2 2 1 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 04 2012
STATUS
approved