9x9 Peg Solitaire |
Last Modified November 14th, 2015 Copyright © 2005 by George I. Bell |
This web page documents some interesting properties and solutions for peg solitaire on the square 9x9 board.
It is unfortunate that a standard chess board is just slightly too small to play 9x9 peg solitaire on. You can play the game on a go board, however the best board is really a computer. On a computer game you can easily backtrack and record move sequences, and taking the complement of a board position is trivial once a suitable button has been programmed. Many of the solutions below were discovered by hand using a Javascript program which I modified from a version by JC Meyrignac. Unfortunately this game is rather hacked up and I don't think anyone else would find it useful if they can't program in Javascript.
In 1962, Robin Merson found an elegant argument which gives a lower bound
for the length of a solution on the 6x6 board.
This argument can be generalized to any square (or even rectangular) null class
board, but on an n x n board the bound is not very tight
if n is odd.
The complement problem from a corner must use at least
On the 9x9 board the lower bound indicates that any solution must have at least 24 moves. The best solution I have seen was constructed by Alain Maye, by hand, and has 34 moves (see below). It is likely it can be done in fewer than 34 moves, but I doubt the minimum length solution is under 28 moves.
The solution below answers this question. After 8 jumps (or 6 moves) the board position becomes square symmetric (shown in red). The next 60 jumps come in sets of 4 moves that are rotational copies of one another, so every 4 moves you pass through a position with rotational symmetry (shown in green). Then the final 11 jumps (or 6 moves) finish at the center. The final solution has 8+60+11=79 jumps (or 72 moves) and passes through 16 positions with rotational symmetry, 5 of them being square symmetric. It is not possible to go through more than 16 positions with rotational symmetry, because one cannot be reached in under 8 jumps from either end.
The longest geometrically possible finishing sweep on the entire board has length 34, and ends at c1 (or any of the seven other symmetrically equivalent board locations). One of these sweep patterns is shown on the left diagram at the top of this page, but there are others. This pattern happens to be the only one that can actually occur in a single vacancy to single survivor problem, however.
From many places on the board it's possible to finish with a 32-loop. There are two essentially different 32-loop patterns possible on this board which have symmetry about both diagonals. These patterns are shown in the right three diagrams at the top of this page.
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Standard 9x9 Notation |
Length of the longest sweep finishing at this location. Select links to see solutions. |
Length of the longest loop finishing at this location. Select links to see solutions. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Color Legend:
Note: The solution diagrams show how to play from the complement of the sweep positions to one peg. The solution ending with the long sweep can then be obtained by executing the jumps in exactly the reverse order, starting from a board position with one vacancy at the location of the finishing peg. In the diagrams, jumps that capture "white pegs" (see below) are colored in yellow. |
We can prove that the central game on the 9x9 board cannot finish with a 32-loop (or, in fact, any 32-sweep). Color the holes alternately as a chess board, with all corners being black. Each peg may be labeled as "white" or "black" and this label does not change during play because any jump begins and ends in the same color hole. We begin with 40 white pegs and 40 black pegs, while the final sweep position consists of 32 white pegs, plus the black peg which performs the sweep. During play to the final loop position, we can afford to jump only 8 white pegs. Notice that clearing a corner peg always requires jumping a white peg.
|
|||||||||||||||||||||||||||||||||||||||||||||||||
The parity count α on the upper left corner |
Second, we consider a parity count α around each corner. On the upper left-hand corner, this parity is the even or oddness of the number of pegs in the holes {b1, c1, a2, b2, a3}, as shown above. Notice that the parity α can only be changed by jumping a white peg, and clearing a corner does not change the parity α. If the initial vacancy is at the center, all 4 parities α are odd, yet in the final sweep position they are all even. All 4 corners must also be cleared, requiring 4 more white pegs. The very first move must also jump a white peg, and it cannot be any of the jumps mentioned previously. Therefore we need to capture at least 9 white pegs to reach the final sweep position, and there are only 8 available. It is therefore impossible to reach any 32-loop from the central vacancy start.
A similar argument show that no other starting location is possible either. If the initial vacancy is at b2, then the initial parity α around this corner is even, however it becomes odd after the first move. Hence we now require 8 white pegs to clear all the parities and corners yet we have only 7 (one being taken by the first move). If the initial vacancy is at e2, the first move does not jump a white peg, but there are only 7 available at the start, and 8 are needed. Finally, it can be shown that all 32-sweeps ending at e5 are in fact loops. So we have proved there is no 32-sweep ending at e5 reachable from a single vacancy start.
An interesting challenge is to demonstrate that the other 32-loops shown above can be reached from single vacancy starts. Some of them can also be the final move to a complement problem. It is also possible to find a solution to the central game ending with a 30-loop.
Can the same techniques be used to prove the 33-sweep and 32-loop ending at a5 are unsolvable? Probably. However, I have attempted to do this and it is considerably more complicated. Let me know if you can prove these unsolvable or find solutions to them.