|
|
A250816
|
|
Number of (4+1) X (n+1) 0..2 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction.
|
|
1
|
|
|
1389, 4321, 10233, 20631, 37333, 62469, 98481, 148123, 214461, 300873, 411049, 548991, 719013, 925741, 1174113, 1469379, 1817101, 2223153, 2693721, 3235303, 3854709, 4559061, 5355793, 6252651, 7257693, 8379289, 9626121, 11007183
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 13*n^4 + 121*n^3 + 439*n^2 + 573*n + 243.
G.f.: x*(1389 - 2624*x + 2518*x^2 - 1214*x^3 + 243*x^4) / (1 - x)^5.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n>5.
(End)
|
|
EXAMPLE
|
Some solutions for n=4:
..0..0..0..0..0....2..2..1..1..0....2..2..2..1..0....2..2..2..2..1
..0..0..0..2..2....0..0..0..0..0....0..0..0..0..1....0..0..0..0..0
..0..0..0..2..2....2..2..2..2..2....0..0..0..1..2....1..1..1..1..1
..0..0..0..2..2....0..0..1..1..1....0..0..0..1..2....1..1..1..2..2
..0..0..0..2..2....1..1..2..2..2....0..0..0..1..2....1..1..1..2..2
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|