|
|
A250777
|
|
Number of (n+1) X (2+1) 0..1 arrays with nondecreasing x(i,j)+x(i,j-1) in the i direction and nondecreasing absolute value of x(i,j)-x(i-1,j) in the j direction.
|
|
1
|
|
|
21, 46, 96, 196, 396, 796, 1596, 3196, 6396, 12796, 25596, 51196, 102396, 204796, 409596, 819196, 1638396, 3276796, 6553596, 13107196, 26214396, 52428796, 104857596, 209715196, 419430396, 838860796, 1677721596, 3355443196
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 3*a(n-1) - 2*a(n-2); a(n) = 25*2^(n-1) - 4.
Empirical g.f.: x*(21 - 17*x) / ((1 - x)*(1 - 2*x)). - Colin Barker, Nov 19 2018
|
|
EXAMPLE
|
Some solutions for n=4:
..0..0..1....1..0..0....0..0..1....1..1..0....0..1..0....0..0..0....0..0..0
..0..0..1....1..0..1....0..1..0....1..1..0....0..1..0....0..0..1....0..0..0
..0..1..0....1..0..1....1..0..1....1..1..0....1..0..1....0..1..0....0..0..0
..0..1..0....1..1..0....0..1..0....1..1..0....0..1..0....0..1..0....0..1..1
..0..1..0....1..1..1....0..1..0....1..1..1....1..0..1....0..1..0....0..1..1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|