login
T(n,k)=Number of nXk 1..6 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:26

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

%T 24255,1958627,8460962,1958627,24255,24,98,353922,183162200

%N T(n,k)=Number of nXk 1..6 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.....24.98

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

%C ..1....16.....488...26029.1958627.183162200

%C ..3...152...26029.8460962

%C ..3..1721.1958627

%C .16.24255

%C .24

%e Some solutions for n=6 k=2

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

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

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

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

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

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

%K nonn,tabl

%O 1,5

%A _R. H. Hardin_ Mar 04 2012