login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A181205
Number of n X n matrices containing a permutation of 1..n*n moving each element at most to a neighboring position.
2
1, 1, 9, 229, 32000, 19114420, 53786626921, 690427159718433, 40891433857372174697, 11135886394033736561250816, 13961976233873461322297385441657
OFFSET
0,3
FORMULA
a(n) = A287152(n,n^2).
EXAMPLE
All solutions for 2X2
..1..2....1..2....1..4....2..1....2..1....2..4....3..1....3..2....3..4
..3..4....4..3....3..2....3..4....4..3....1..3....4..2....1..4....1..2
MATHEMATICA
A181206 = Cases[Import["https://oeis.org/A181206/b181206.txt", "Table"], {_, _}][[All, 2]];
a[n_] := A181206[[2 n^2 - 2 n + 1]];
Table[a[n], {n, 1, 10}] (* Jean-François Alcover, Sep 23 2019 *)
CROSSREFS
Main diagonal of A181206.
Cf. A287152.
Sequence in context: A197428 A295941 A247019 * A152101 A230178 A165389
KEYWORD
nonn
AUTHOR
R. H. Hardin, Oct 10 2010
EXTENSIONS
a(0) and a(10) from Alois P. Heinz, May 20 2017
STATUS
approved