login
T(n,k)=Number of nXk 1..5 arrays with every element value z a city block distance of exactly z from another element value z
3

%I #4 Mar 31 2012 12:37:25

%S 0,1,1,1,2,1,3,16,16,3,3,152,488,152,3,16,1721,26029,26029,1721,16,21,

%T 21083,1745235,7562979,1745235,21083,21,71,217825,116464240

%N T(n,k)=Number of nXk 1..5 arrays with every element value z a city block distance of exactly z from another element value z

%C Table starts

%C ..0.....1.......1.......3.......3........16.....21.71

%C ..1.....2......16.....152....1721.....21083.217825

%C ..1....16.....488...26029.1745235.116464240

%C ..3...152...26029.7562979

%C ..3..1721.1745235

%C .16.21083

%C .21

%e Some solutions for n=3 k=4

%e ..1..1..3..2....4..3..1..1....4..2..1..1....5..2..4..2....3..2..3..3

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

%e ..3..2..3..3....3..1..4..2....4..2..4..4....4..3..1..5....2..2..3..2

%K nonn,tabl

%O 1,5

%A _R. H. Hardin_ Mar 04 2012