OFFSET
1,1
COMMENTS
Column 2 of A201451.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = a(n-2) +3*a(n-4) -3*a(n-6) -3*a(n-8) +3*a(n-10) +a(n-12) -a(n-14).
Subsequences for n modulo 4 = 1,2,3,0:
p=(n+3)/4: a(n) = 8*p^3 - 2*p^2
q=(n+2)/4: a(n) = (4/3)*q^3 + (1/2)*q^2 + (1/6)*q
r=(n+1)/4: a(n) = 8*r^3 + 10*r^2 + 3*r
s=(n+0)/4: a(n) = (4/3)*s^3 + (7/2)*s^2 + (19/6)*s + 1.
Empirical g.f.: x*(6 + 2*x + 15*x^2 + 7*x^3 + 17*x^4 - 2*x^5 + 9*x^6 - 2*x^7 + x^8 + 3*x^9 + x^11 - x^13) / ((1 - x)^4*(1 + x)^4*(1 + x^2)^3). - Colin Barker, May 23 2018
EXAMPLE
Some solutions for n=10:
..0..0....0..0....0..1....0..1....0..2....0..0....0..0....0..0....0..1....0..0
..0..1....0..1....0..1....0..1....0..2....0..1....0..1....0..0....0..1....0..1
..0..2....0..1....0..2....0..2....0..2....0..1....0..2....0..1....0..1....0..2
..0..2....0..2....0..2....0..2....0..2....0..1....0..2....1..1....0..2....0..2
..1..2....1..2....0..2....0..2....0..2....1..1....1..2....1..1....0..2....1..2
..1..2....1..2....1..2....1..3....1..3....2..2....1..3....2..2....1..2....1..2
..1..2....1..2....1..2....1..3....1..3....2..3....1..3....2..3....1..3....1..3
..1..3....2..3....1..3....1..3....1..3....2..3....1..3....2..3....2..3....1..3
..3..3....3..3....3..3....2..3....1..3....2..3....2..3....2..3....2..3....2..3
..3..3....3..3....3..3....2..3....1..3....3..3....2..3....3..3....3..3....3..3
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 01 2011
STATUS
approved