OFFSET
1,1
COMMENTS
Row 3 of A199704.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..200
FORMULA
Empirical: a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4).
Conjectures from Colin Barker, May 16 2018: (Start)
G.f.: 2*x*(3 + x + 2*x^2) / ((1 - x)^3*(1 + x)).
a(n) = n + 3*n^2 for n even.
a(n) = 2 + n + 3*n^2 for n odd.
(End)
EXAMPLE
Some solutions for n=5:
..1...-5....1....1....3...-1...-2....3....1....2....2...-5....3...-3...-3....4
..3....3...-5....4....0...-4....3...-3...-1...-5....0....5...-2....4....0....1
.-4....2....4...-5...-3....5...-1....0....0....3...-2....0...-1...-1....3...-5
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 09 2011
STATUS
approved