OFFSET
1,2
COMMENTS
Column 2 of A183904.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..62
Charles Cratty, Samuel Erickson, Frehiwet Negass, Lara Pudwell, Pattern Avoidance in Double Lists, preprint, 2015.
FORMULA
Empirical: a(n) = (1/2)*n^2 + (9/2)*n - 1 for n>2.
Conjectures from Colin Barker, Apr 05 2018: (Start)
G.f.: x*(1 + x - x^2)*(1 + 3*x - 3*x^2) / (1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>5.
(End)
EXAMPLE
Some solutions for n=4:
..0....0....0....0....1....0....0....0....1....0....0....0....0....0....0....0
..1....1....0....0....1....0....0....0....1....0....0....0....0....0....1....0
..1....1....2....0....1....0....1....0....1....0....1....0....0....1....1....1
..2....1....2....0....2....1....1....0....1....1....1....0....0....1....1....1
..2....1....2....1....2....1....1....2....2....2....2....0....1....1....1....1
..2....2....2....1....2....1....1....2....2....2....2....1....2....1....1....2
..2....2....2....1....2....1....1....2....2....2....2....1....2....2....2....2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 07 2011
STATUS
approved