The number of even permutations of 15 objects is 15!/2 = 653837184000. By Corollary 2.9, 15!/2 is an upper Page 5 THE 15-PUZZLE (AND RUBIK’S CUBE) 5 bound on the number of (legal) positions of the pieces in the 15-puzzle with the empty space in the lower right.
Is the 15 Puzzle hard?
SLIDING-BLOCK puzzles look easy, but they can be tricky to solve. The best known is the “15 Puzzle”, which became hugely popular in the late 1870s. The best such puzzles are easy to explain, yet difficult to solve.
How many moves do you need to solve the 15 puzzle?
For the 15-puzzle, lengths of optimal solutions range from 0 to 80 single-tile moves (there are 17 configurations requiring 80 moves) or 43 multi-tile moves; the 8-puzzle always can be solved in no more than 31 single-tile moves or 24 multi-tile moves (integer sequence A087725 ).
What’s the maximum heap size for solving 15 puzzles?
Using the Manhattan distance, only 2751 vertices were visited and the maximum heap size was 1501. Solving fifteen-puzzles is much more difficult: the puzzle in Figure 8 has a solution of 50 moves and required that 84702 vertices (different permutations of the puzzle) be visited and the maximum heap size was 72340.
Which is the solution to the eight puzzle?
The Manhattan distance (the sum of the minimum number of steps to move each tile (assuming no other tiles) in its correct location), For example, Figure 5 shows the solution to the eight-puzzle and a permutation of the tiles. Figure 5. The solution to the eight-puzzle and a permutation of the tiles.
What makes a 15 puzzle a solvable puzzle?
In particular, if the empty square is in the lower right corner (even anywhere in the last row) then the puzzle is solvable if and only if the number of inversions of the numbered pieces is even. Sam Loyd ‘s unsolvable 15 puzzle, with tiles 14 and 15 exchanged.