OFFSET
1,3
COMMENTS
Row 2 of A270850.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 2*a(n-1) -2*a(n-3) +a(n-4) for n>5
Empirical for n mod 2 = 0: a(n) = 9*n^2 - 42*n + 48 for n>1
Empirical for n mod 2 = 1: a(n) = 9*n^2 - 42*n + 51 for n>1
EXAMPLE
Some solutions for n=4
...2....1....0....1....0....4....3....2....2....2....0....4....4....2....3....2
..0.4..2.0..1.2..0.2..2.4..2.0..4.2..4.3..2.0..0.2..2.2..2.2..0.2..0.1..2.4..4.2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 24 2016
STATUS
approved