|
|
A208064
|
|
Number of n X 3 0..1 arrays avoiding 0 0 0 and 1 1 1 horizontally and 0 0 1 and 0 1 1 vertically.
|
|
1
|
|
|
6, 36, 72, 144, 216, 324, 432, 576, 720, 900, 1080, 1296, 1512, 1764, 2016, 2304, 2592, 2916, 3240, 3600, 3960, 4356, 4752, 5184, 5616, 6084, 6552, 7056, 7560, 8100, 8640, 9216, 9792, 10404, 11016, 11664, 12312, 12996, 13680, 14400, 15120, 15876, 16632
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4) for n>5.
G.f.: 6*x*(1 + 4*x + 2*x^3 - x^4) / ((1 - x)^3*(1 + x)).
a(n) = 9*n^2 for n>1 and even.
a(n) = 9*n^2-9 for n>1 and odd.
(End)
|
|
EXAMPLE
|
Some solutions for n=4:
..0..0..1....1..1..0....1..1..0....0..1..1....1..1..0....0..0..1....0..0..1
..0..1..1....1..0..1....1..1..0....1..1..0....0..0..1....0..1..1....0..0..1
..0..0..1....1..0..0....1..0..0....0..1..1....1..1..0....0..0..1....0..0..1
..0..0..1....0..0..1....1..1..0....1..0..0....0..0..1....0..1..0....0..0..1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|