Fifteen numbered tiles and one empty square in a 4Γ4 frame. Slide a tile into the gap, again and again, and try to put 1β15 in order. It looks like child's play β yet exactly half of all the ways you could scramble it can never be solved, no matter how cleverly you push. Below: play it, then see the hidden parity law that decides which boards are possible and which are forever stuck.
Click any tile that sits next to the gap and it slides in. Keep going until the numbers read in order with the blank in the bottom-right. The board is always shuffled into a solvable position, so it can always be finished. Try the 3Γ3 size too.
Read the tiles left-to-right, top-to-bottom (ignoring the blank). An inversion is any pair where a larger number comes before a smaller one. For a 4Γ4 board the rule is: it is solvable exactly when (number of inversions) + (row of the blank, counted from the bottom) is even. Every legal slide preserves this parity β so no amount of sliding can change an impossible board into a solvable one.
Try this: hit Swap two tiles and watch the verdict flip every single time β one transposition always crosses between the two halves. Loyd's notorious board (1β13 in order but 14 and 15 exchanged) is the famous impossible one: he offered $1,000 for a solution that can't exist.
Think of an arrangement as a permutation of the 16 squares. A single tile-slide swaps the blank with one neighbour β that's a transposition, and a transposition always flips the parity of the permutation (even β· odd). But the blank also moves one row or column, which changes the "blank row" term in lock-step. The combination β inversions plus blank-row β is therefore an invariant: it can never change while you play.
So the 16! arrangements fall into two equal classes that no sequence of slides can connect. The solved board lives in one of them; every board in the other class is genuinely, provably unreachable. That is the whole secret behind the puzzle that swept America in the 1880s, and behind Sam Loyd's standing cash prize for solving the swapped 14β15 board β a challenge mathematics guarantees no one could ever win.
Two unreachable halves of arrangement-space: every legal move keeps you inside one ring. 16!/2 β 1.05 Γ 10ΒΉΒ³ reachable boards β and just as many you can never get to.