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

%I #5 Mar 31 2012 12:37:28

%S 6,35,35,199,1104,199,1094,31185,31185,1094,5835,782336,3873287,

%T 782336,5835,29917,17015665,364261071,364261071,17015665,29917,147568,

%U 311027162,24175529937,99281772774,24175529937,311027162,147568,722298,5208624406

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

%C Table starts

%C ......6........35.........199........1094........5835.........29917.....147568

%C .....35......1104.......31185......782336....17015665.....311027162.5208624406

%C ....199.....31185.....3873287...364261071.24175529937.1165940695438

%C ...1094....782336...364261071.99281772774

%C ...5835..17015665.24175529937

%C ..29917.311027162

%C .147568

%H R. H. Hardin, <a href="/A209182/b209182.txt">Table of n, a(n) for n = 1..31</a>

%e Some solutions for n=5 k=3

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

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

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

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

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

%K nonn,tabl

%O 1,1

%A _R. H. Hardin_ Mar 05 2012