|
|
A184041
|
|
1/9 the number of (n+1) X 3 0..2 arrays with all 2 X 2 subblocks having the same four values.
|
|
2
|
|
|
15, 21, 31, 51, 87, 159, 295, 567, 1095, 2151, 4231, 8391, 16647, 33159, 66055, 131847, 263175, 525831, 1050631, 2100231, 4198407, 8394759, 16785415, 33566727, 67125255, 134242311, 268468231, 536920071, 1073807367, 2147581959, 4295098375
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 3*a(n-1) - 6*a(n-3) + 4*a(n-4).
G.f.: x*(15 - 24*x - 32*x^2 + 48*x^3) / ((1 - x)*(1 - 2*x)*(1 - 2*x^2)).
a(n) = 3*2^(n/2) + 2^(n+1) + 7 for n even.
a(n) = 2^(n+1) + 2^((n+3)/2) + 7 for n odd.
(End)
|
|
EXAMPLE
|
Some solutions for 5 X 3:
..1..0..0....2..1..2....2..1..2....0..1..0....0..0..0....0..1..0....1..1..1
..0..1..1....0..0..0....1..1..1....0..2..0....1..1..1....1..2..1....0..1..0
..1..0..0....2..1..2....2..1..2....1..0..1....0..0..0....1..0..1....1..1..1
..0..1..1....0..0..0....1..1..1....0..2..0....1..1..1....2..1..2....0..1..0
..1..0..0....1..2..1....1..2..1....1..0..1....0..0..0....0..1..0....1..1..1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|