A188958 T(n,k)=Number of nXk array permutations with each element moved no more than a city block distance of two.
1, 2, 2, 6, 24, 6, 14, 362, 362, 14, 31, 3969, 29172, 3969, 31, 73, 45288, 1722256, 1722256, 45288, 73, 172, 532224, 104735558, 504690017, 104735558, 532224, 172, 400, 6187928, 6513224285, 151700751624, 151700751624, 6513224285, 6187928, 400
Offset: 1
Examples
Some solutions for 5X3 ..0..3..1....0..3..1....0..3..1....0..3..1....0..3..1....0..3..1....0..3..1 ..5..2.11....5..2..4....5..2..4....5..6..2....5..2..7....5..6..8....5..2.11 ..4..7..8....7..9.10....6..8.14....9.13..8....4.11..8....4.13..2....4..8..7 .10.13.14....6..8.11...11..7..9....7..4.14....6.12.14...11.14..7....6.12.10 ..6..9.12...12.14.13...10.13.12...12.10.11...10..9.13...10..9.12...14..9.13
Links
- R. H. Hardin, Table of n, a(n) for n = 1..59
Crossrefs
Column 1 is A002524
Comments