%I #4 Dec 09 2015 10:48:08
%S 1,1,1,1,3,3,2,26,18,16,9,139,550,232,125,29,765,8812,9808,2764,1296,
%T 79,6221,121819,398508,290140,34471,16807,220,46898,1630672,17481072,
%U 22533687,8526762,448920,262144,673,292690,25855219,593770274,2002867877
%N T(n,k)=Number of nXk 0..n+k-2 arrays with upper left zero and lower right n+k-2 and each element differing from its horizontal and antidiagonal neighbors by one or two.
%C Table starts
%C ......1.......1..........1.............2................9..................29
%C ......1.......3.........26...........139..............765................6221
%C ......3......18........550..........8812...........121819.............1630672
%C .....16.....232.......9808........398508.........17481072...........593770274
%C ....125....2764.....290140......22533687.......2002867877........176223025171
%C ...1296...34471....8526762....1509143496.....274085245804......49094408347776
%C ..16807..448920..226627855...90139418667...40379152013237...15984824483462062
%C .262144.5975090.6429210362.5406371366046.5373739385807564.5061676810415781351
%H R. H. Hardin, <a href="/A265466/b265466.txt">Table of n, a(n) for n = 1..127</a>
%e Some solutions for n=3 k=4
%e ..0..2..3..2....0..2..3..1....0..2..3..2....0..2..3..1....0..2..3..5
%e ..0..2..3..1....3..2..3..2....3..2..1..2....0..1..3..5....4..2..3..5
%e ..0..2..3..5....3..1..3..5....4..2..4..5....2..1..3..5....3..4..3..5
%Y Column 1 is A000272.
%Y Row 1 is A265440.
%K nonn,tabl
%O 1,5
%A _R. H. Hardin_, Dec 09 2015
|