login
Number of (n+1) X (5+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

%I #8 Nov 18 2018 12:24:03

%S 133,214,344,572,996,1812,3412,6580,12884,25460,50580,100788,201172,

%T 401908,803348,1606196,3211860,6423156,12845716,25690804,51380948,

%U 102761204,205521684,411042612,822084436,1644168052,3288335252

%N Number of (n+1) X (5+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.

%H R. H. Hardin, <a href="/A250766/b250766.txt">Table of n, a(n) for n = 1..210</a>

%F Empirical: a(n) = 4*a(n-1) - 5*a(n-2) + 2*a(n-3); a(n) = 49*2^(n-1) + 32*n + 52.

%F Empirical g.f.: x*(133 - 318*x + 153*x^2) / ((1 - x)^2*(1 - 2*x)). - _Colin Barker_, Nov 18 2018

%e Some solutions for n=4:

%e ..1..1..1..1..1..1....1..0..0..0..0..0....1..1..1..1..1..1....0..0..1..0..0..0

%e ..1..1..1..1..1..1....1..1..1..1..1..1....0..0..0..0..0..0....0..0..1..1..1..1

%e ..1..1..1..1..1..1....0..0..0..0..0..0....0..0..0..0..0..0....0..0..1..1..1..1

%e ..0..0..0..0..0..0....0..0..0..0..0..0....0..0..0..0..0..1....0..0..1..1..1..1

%e ..0..0..0..0..0..1....0..0..0..1..1..1....0..0..0..0..0..1....0..0..1..1..1..1

%Y Column 5 of A250769.

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 27 2014