Note that the positions are numbered, not the pegs.
In the solution, a number is given for a move.
You will find that the peg at that position
has exactly one legal move.
A Classic Peg-Jumping Puzzle
There are four red pegs and four blue pegs as shown below.
There is an empty "hole" in the center.
Object: switch the positions of the red and blue pegs.
A peg can move into an adjacent hole
or jump a peg of opposite color.
Red pegs must move to the right.
Blue pegs must move to the left.