OFFSET
1,1
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, Nov 04 2018: (Start)
G.f.: x*(10 + 15*x - 15*x^2 + 3*x^3 - x^4) / ((1 - x)^4*(1 + x)).
a(n) = 1 + 4*n + 7*n^2 + n^3 for n even.
a(n) = -2 + 4*n + 7*n^2 + n^3 for n odd.
(End)
EXAMPLE
Some solutions for n=10:
..9....1....8....0....9....0...10....4....3....5....8....4....3...10....3....9
..0....9....4....6....0...10....0....4....4....5....2....4....4....2....1....5
.10....1....6....4...10....0...10....6....6....9...10....6....6....8....9....1
.10....0....0....0....1....3....4....3....0....1....8....1....6....8....7....5
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 04 2014
STATUS
approved