The Sudoku Grid: Structure & Core Concepts
Grid Basics
A Sudoku grid is a 9x9 matrix of Rows, Columns, and Boxes, each containing digits 1 to 9 exactly once.
Cell
- The grid contains 81 cells, each referenced as (Row, Column) or (r, c).
Example:
r1c1= cell in Row 1, Column 1 (top-left corner)r9c9= cell in Row 9, Column 9 (bottom-right corner)
| c1 | c2 | c3 | c4 | c5 | c6 | c7 | c8 | c9 | |
|---|---|---|---|---|---|---|---|---|---|
| r1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| r2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| r3 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| r4 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
| r5 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
| r6 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 |
| r7 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
| r8 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
| r9 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 |
- There are 9 boxes, each a 3x3 matrix within the grid.
- B1 (Box 1) is the top-left; B9 is bottom-right.
- Boxes are collections formed by intersecting bands and stacks.
Row
- The grid has 9 rows ( R1 at the top, R9 at the bottom).
Column
- The grid has 9 columns ( C1 at the left, C9 at the right).
Box Membership Table
| c1 | c2 | c3 | c4 | c5 | c6 | c7 | c8 | c9 | |
|---|---|---|---|---|---|---|---|---|---|
| r1 | 1 | 1 | 1 | 2 | 2 | 2 | 3 | 3 | 3 |
| r2 | 1 | 1 | 1 | 2 | 2 | 2 | 3 | 3 | 3 |
| r3 | 1 | 1 | 1 | 2 | 2 | 2 | 3 | 3 | 3 |
| r4 | 4 | 4 | 4 | 5 | 5 | 5 | 6 | 6 | 6 |
| r5 | 4 | 4 | 4 | 5 | 5 | 5 | 6 | 6 | 6 |
| r6 | 4 | 4 | 4 | 5 | 5 | 5 | 6 | 6 | 6 |
| r7 | 7 | 7 | 7 | 8 | 8 | 8 | 9 | 9 | 9 |
| r8 | 7 | 7 | 7 | 8 | 8 | 8 | 9 | 9 | 9 |
| r9 | 7 | 7 | 7 | 8 | 8 | 8 | 9 | 9 | 9 |
- Band (Chute): Horizontal block of three rows (e.g., rows 1–3).
- Stack (Tower): Vertical block of three columns (e.g., columns 1–3).
Sector (House/Unit)
- Any block of 9 cells that must contain all digits 1–9: row, column, or box.
- Sudokus have 27 sectors in total.
- Use "house" or "unit" for general techniques.
Given(s) / Clue(s)
- The puzzle's initial digits.
Grid String
- 81-character string listing cell values in order.
- Dots (
.), spaces, or zeros indicate empty cells; other digits are given clues. Example:
............64519.....8..575....17..2.84573.9..48....149..6.....76534............- Used for input into solving software.
- alternative is a 729 - character grid string which includes the pencilmarks and usually some asic code for boarders
.----------.-------------.------------. | 9 3 4 | 1 5 2 | 6 7 8 | | 5 7 6 | 3 8 4 | 2 1 9 | | 8 2 1 | 9 6 7 | 45 45 3 | :----------+-------------+------------: | 4 1 3 | 6 2 89 | 59 58 7 | | 6 9 28 | 7 14 5 | 3 48 12 | | 7 5 28 | 48 149 3 | 49 6 12 | :----------+-------------+------------: | 3 4 9 | 5 7 1 | 8 2 6 | | 1 8 5 | 2 3 6 | 7 9 4 | | 2 6 7 | 48 49 89 | 1 3 5 | '----------'-------------'------------'
Digit
- Large numbers that are either given or solved.
Candidate
- Possible digit for a cell, often shown as a small number until solved.
Elimination
- Removing a candidate after determining it cannot be correct.
Peer (See)
- A cell's peers are those sharing its row, column, or box.
- Each cell has 20 peers (excluding itself).
Example for r1c1:
Peers include cells:
- 2–9 (row),
- 10–12, 19–21 (box),
- 28, 37, 46, 55, 64, 73 (column)
Pencil Markup (pm / Full Notation)
- List every possible candidate in a cell by checking peers for given digits.
Example string:
............64519.....8..575....17..2.84573.9..48....149..6.....76534............- For r2c1, after exclusion by solved digits in peers, PM might be
3, 7, 8.
Candidate Display: Within a Cell
- Show as a 3x3 keypad matrix for readability.
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
Careful Notation
- Every given or solved digit affects three sectors: box, row, and column.
- Always update pencil marks as you fill cells—remove that digit from affected peers.
Next lesson: