Sudoku — Definition & Example
Sudoku is a logic puzzle in which you fill a partly completed grid so that every row, every column, and every outlined box contains each symbol exactly once. The standard version uses a 9×9 grid with nine 3×3 boxes and the digits 1 through 9.
A Sudoku grid of order is an array divided into non-overlapping boxes. A completed grid is a Latin square on the symbols with one extra condition: each box also contains every symbol exactly once. A Sudoku puzzle is a partial grid with exactly one valid completion. The digits act only as labels, so the puzzle requires no arithmetic.
Worked Example
Problem: A 4×4 Sudoku (order ) uses the digits 1 to 4 and has four 2×2 boxes. Rows 1 to 4 read: (1, _, _, 4), (_, 4, 1, _), (2, _, _, 3), (_, 3, 2, _). Find the digits in row 1, columns 2 and 3.
Step 1: Row 1 already contains 1 and 4. The empty cell in column 2 must therefore hold one of the remaining digits.
Step 2: Column 2 already contains 4 and 3, so you can rule out 3. Only one candidate is left.
Step 3: Row 1 now reads 1, 2, _, 4, so the last empty cell must be 3. Check it against the other constraints. Column 3 holds only 1 and 2, and the top-right box holds only 4 and 1, so 3 breaks no rule.
Answer: Row 1 is 1, 2, 3, 4. The cell in column 2 is 2 and the cell in column 3 is 3.
Why It Matters
Sudoku is a standard example of a constraint satisfaction problem, the same kind of problem a computer solves when it builds a class schedule or assigns radio frequencies. Mathematicians have counted exactly 288 completed 4×4 grids and about 6.67 sextillion completed 9×9 grids. A 2012 computer search showed that a 9×9 puzzle with a unique solution needs at least 17 given clues.
Common Mistakes
Mistake: Checking only the row and column before placing a digit and ignoring the box.
Correction: A grid that satisfies only the row and column rules is a Latin square, not a Sudoku. Before you place a digit, also confirm that it does not already appear in the same box.
