|
|
A250792
|
|
Number of (n+1) X (3+1) 0..1 arrays with nondecreasing min(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
|
|
|
54, 162, 482, 1430, 4258, 12706, 37986, 113694, 340562, 1020650, 3059890, 9175558, 27518466, 82538994, 247584194, 742687022, 2227929970, 6683527738, 20050058898, 60149128086, 180445287074, 541331666882, 1623986612002, 4871943058750
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 6*a(n-1) - 10*a(n-2) + 11*a(n-4) - 6*a(n-5).
G.f.: 2*x*(27 - 81*x + 25*x^2 + 79*x^3 - 48*x^4) / ((1 - x)^2*(1 + x)*(1 - 2*x)*(1 - 3*x)).
a(n) = -3 - (-1)^n/4 + 2^(1+n) + (23*3^(1+n))/4 + n.
(End)
|
|
EXAMPLE
|
Some solutions for n=4:
..0..0..1..0....0..0..1..0....1..0..1..0....0..1..0..1....0..0..1..0
..0..1..0..1....0..0..0..1....1..0..1..0....0..0..1..0....0..0..0..1
..0..1..0..1....0..0..0..1....0..1..0..1....0..0..0..1....0..0..1..0
..0..0..1..0....0..0..1..0....0..0..1..0....1..1..1..0....0..0..1..0
..0..1..0..1....0..0..1..1....0..0..1..1....1..1..1..1....0..0..1..1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|