A343146 Number of move sequences of length 2n on the "8 Puzzle" which leave the final state unchanged when the empty cell starts in a corner.
1, 2, 8, 40, 228, 1404, 9046, 59892, 403486, 2751104, 18928024, 131178640, 914753916, 6413644272, 45188265984, 319798943360, 2272481584604, 16209083200168, 116019175132958, 833115842931984, 6000491719051994, 43339577695514632, 313846571416413820
Offset: 0
Keywords
Examples
a(0)=1 because doing nothing leaves the puzzle in the identity state. a(1)=2 because 66 and 88 leave the puzzle in the identity state (concatenating together the numbers moved to indicate the move sequence). a(2)=8 by the sequences 6666, 6688, 8866, 8888, 6336, 8778, 6556, 8558. More complicated move sequences occur for larger n.
Links
- Sean A. Irvine, Java program (github)
- Eric Weisstein's World of Mathematics, 15 Puzzle.
Comments