17

Peg Solitaire is mostly known to me as the triangular board with 15 holes and 14 pegs (mostly because of the restaurant Cracker Barrel). The rules are simple: pegs jump each other in straight lines, removing the jumped peg and leaving an additional space each move.

The usual end goal is to remove all but one peg, but that's boring. Instead, I'd like to know how many pegs you can end with, while no longer having a move to make. You may start with any space being the open spot.

image of puzzle

Text example (X is peg, O is space)

    O  
   X X  
  X X X  
 X X X X  
X X X X X
David Starkey
  • 6,639
  • 1
  • 24
  • 62

1 Answers1

24

It can be done in

4

jumps.

Here is the solution:

      x            x            x            x           x
     x x          x x          x .          x .         x x
    x . x        x x x        x . x        x x x       x . x
   x x x x      x . x x      x x x x      x x . x     x . . x
  x x x x x    x . x x x    x . x x x    x . x . x   x . x . x

If you start with the hole elsewhere, you need more moves to reach an end position. Here are all the optimal end positions for each case, but without the move sequence leading up to them.

  7 jumps
      .           .
     x x         . .
    x x x       x x x
   x x x x     . . . .
  x x x x x   x x x x x

7 jumps x x x . x . x x x x . x x x x x x . x . x x x x x x . x . .

8 jumps x x x x . x x x . x . x x x x x . . . x x x x x x . x . . x

  x           x
 x x         x .
x x .       x . x

x x x x x . . . x x x x x x . . . x

and their mirror images.

Jaap Scherphuis
  • 53,019
  • 7
  • 120
  • 208
  • Your second 7 jumps answer looks flawed to me, unless it isnt the final form i am looking at, there are still 2 possible moves – Jason V Aug 03 '17 at 15:51
  • 10
    I must confess I used a computer. I have a page about Triangle Solitaire on my website, and still had the computer program I used to calculate the number of positions at each depth. I merely had to add a print statement to output any board state that has no more moves available. This adds no insight, however I maybe could have found the optimal solution using the SAX resource count which is explained on George Bell's site. – Jaap Scherphuis Aug 03 '17 at 15:53
  • 1
    @Jason: Thanks, I copied that down wrong. It's fixed now. – Jaap Scherphuis Aug 03 '17 at 15:54