HOW TO PLAY: Fill in the grid so that every row,every column and every 3 × 3 box contains thedigits 1–9. There’s no maths involved. Yousolve the puzzle with reasoning and logic.*Advice on how to play Sudoku, the* Independent

This chapter is devoted to an extended exercise in the use of lists to solve problems, and in the use of equational reasoning to reason about them and to improve efficiency.

The game of Sudoku is played on a 9 by 9 grid, though other sizes are also possible. Given a matrix, such as that in Figure 5.1, the idea is to fill in the empty cells with the digits 1 to 9 so that each row, column and 3×3 box contains the numbers 1 to 9. In general there may be any number of solutions, though in a good ...

Start Free Trial

No credit card required