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”).

A264040
Number of possible permutations of the n X n generalization of the sliding block 15-puzzle.
0
1, 12, 181440, 10461394944000, 7755605021665492992000000, 185996663394950608733999724075417600000000, 304140932017133780436126081660647688443776415689605120000000000, 63443466092942082051716694667580740401432758087272596099400947187607352115200000000000000
OFFSET
1,2
COMMENTS
For n > 1, of the permutations that can be reached by disassembling the puzzle and replacing the tiles, exactly half of them can be reached by sliding the tiles.
LINKS
Eric Weisstein's World of Mathematics, 15 Puzzle
FORMULA
a(1) = 1; a(n) = (n^2)!/2 for n > 1.
EXAMPLE
a(4) = 10461394944000 because the standard 4 X 4 version of the 15-puzzle has exactly 10461394944000 permutations that can be reached by sliding the tiles.
MATHEMATICA
a[n_] := If[n == 1, 1, (n^2)!/2]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ben Whitmore, Nov 01 2015
EXTENSIONS
a(1) added by Franklin T. Adams-Watters, Nov 11 2015
STATUS
approved