T(n,k) = number of n X k matrices containing a permutation of 1..n*k moving each element at most to a neighboring position.

A181206

T(n,k) = number of n X k matrices containing a permutation of 1..n*k moving each element at most to a neighboring position.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =3a(4) =9a(5) =3a(6) =5a(7) =32a(8) =32a(9) =5a(10) =8a(11) =121a(12) =229a(13) =121a(14) =8a(15) =13a(16) =450a(17) =1845a(18) =1845a(19) =450a(20) =13a(21) =21a(22) =1681a(23) =14320a(24) =32000a(25) =14320a(26) =1681a(27) =21a(28) =34a(29) =6272

External references