login
T(n,k)=Number of nXk 0..4 arrays with each element equal to the number of its horizontal and vertical neighbors less than or equal to itself
9

%I #5 Mar 31 2012 12:36:26

%S 1,3,3,2,23,2,7,56,56,7,19,461,555,461,19,35,2897,11200,11200,2897,35,

%T 77,17967,112723,340286,112723,17967,77,176,116911,1231014,11955804,

%U 11955804,1231014,116911,176,377,757146,18047775,492164626,1202209625

%N T(n,k)=Number of nXk 0..4 arrays with each element equal to the number of its horizontal and vertical neighbors less than or equal to itself

%C Table starts

%C ...1........3...........2................7.................19

%C ...3.......23..........56..............461...............2897

%C ...2.......56.........555............11200.............112723

%C ...7......461.......11200...........340286...........11955804

%C ..19.....2897......112723.........11955804.........1202209625

%C ..35....17967.....1231014........492164626.......134252759220

%C ..77...116911....18047775......19551716726.....15090629432544

%C .176...757146...249080912.....762304199460...1674551042811491

%C .377..4893755..3224160693...30102052972401.186974407177541859

%C .819.31718101.42170084169.1191511814763748

%H R. H. Hardin, <a href="/A196544/b196544.txt">Table of n, a(n) for n = 1..97</a>

%e Some solutions for n=6 k=4

%e ..2..1..0..1....2..1..0..2....1..0..3..1....1..0..3..1....2..2..0..2

%e ..1..3..1..3....0..3..1..2....3..2..1..0....3..3..1..0....2..4..1..2

%e ..1..4..3..3....2..4..2..3....1..3..4..2....0..4..2..2....1..1..3..3

%e ..3..0..1..2....1..0..2..3....1..3..2..0....1..4..3..3....3..2..4..1

%e ..3..3..4..0....3..2..4..1....2..4..2..3....3..1..0..3....0..2..4..0

%e ..1..0..2..2....0..1..2..0....0..2..0..1....0..3..3..0....1..3..0..2

%K nonn,tabl

%O 1,2

%A _R. H. Hardin_ Oct 03 2011