Level 0 · lesson 1 of 3
Rules and one solution
กติกาและคำตอบเดียว
How many ways can this puzzle be filled?
1 Here's the Puzzle, โจทย์มาแล้ว!
The puzzle gives 30 digits (the givens). 51 cells are blank. How do we fill them correctly?
Read the board as text
- Givens in row 1: column 4 is 1.
- Givens in row 2: column 2 is 7, column 5 is 8, column 6 is 3 and column 9 is 9.
- Givens in row 3: column 3 is 2, column 6 is 4, column 7 is 5 and column 8 is 8.
- Givens in row 4: column 2 is 9, column 3 is 7, column 7 is 3, column 8 is 1 and column 9 is 8.
- Givens in row 5: column 1 is 8 and column 9 is 6.
- Givens in row 6: column 1 is 6, column 2 is 4, column 3 is 5, column 7 is 9 and column 8 is 7.
- Givens in row 7: column 2 is 6, column 3 is 3, column 4 is 8 and column 7 is 2.
- Givens in row 8: column 1 is 1, column 4 is 2, column 5 is 4 and column 8 is 3.
- Givens in row 9: column 6 is 5.
2 Take a Look, ลองมองดู
Look at the finished grid, then at row 3.
This is a finished Sudoku grid. It has 9 rows, 9 columns and 9 boxes of 3×3 cells.
- row/column/box we look at
This board is a finished grid.
Read the board as text
- Row 1: 3 5 8 1 2 9 7 6 4
- Row 2: 4 7 6 5 8 3 1 2 9
- Row 3: 9 1 2 7 6 4 5 8 3
- Row 4: 2 9 7 4 5 6 3 1 8
- Row 5: 8 3 1 9 7 2 4 5 6
- Row 6: 6 4 5 3 1 8 9 7 2
- Row 7: 5 6 3 8 9 1 2 4 7
- Row 8: 1 8 9 2 4 7 6 3 5
- Row 9: 7 2 4 6 3 5 8 9 1
3 Your Move, ตาคุณแล้ว
Row 3: does any digit repeat? Is any missing?
Count how many times each digit 1 to 9 appears in this row.
- 1?×1
- 2?×1
- 3?×1
- 4?×1
- 5?×1
- 6?×1
- 7?×1
- 8?×1
- 9?×1
Press to see the reason
4 Aha! Here's Why, อ๋อ! เพราะอย่างนี้เอง
The reason opens here after you press “Show the reason” in panel 3
- digit 1: count 1
- digit 2: count 1
- digit 3: count 1
- digit 4: count 1
- digit 5: count 1
- digit 6: count 1
- digit 7: count 1
- digit 8: count 1
- digit 9: count 1
Every digit 1 to 9 is there, exactly once.
Row 3 has each digit from 1 to 9 exactly once, and so does every other row.
5 The Rule, กติกา
Opens after you see the reason in panel 4
The rule: Every row, every column and every 3×3 box has each digit 1 to 9 exactly once.
Column 7 and the middle box also have each digit 1 to 9 exactly once.
6 The Big Question, ชวนคิด
The puzzle in panel 1 has 30 givens. How many ways can the rest be filled by the rule?
Read the board as text
- Givens in row 1: column 4 is 1.
- Givens in row 2: column 2 is 7, column 5 is 8, column 6 is 3 and column 9 is 9.
- Givens in row 3: column 3 is 2, column 6 is 4, column 7 is 5 and column 8 is 8.
- Givens in row 4: column 2 is 9, column 3 is 7, column 7 is 3, column 8 is 1 and column 9 is 8.
- Givens in row 5: column 1 is 8 and column 9 is 6.
- Givens in row 6: column 1 is 6, column 2 is 4, column 3 is 5, column 7 is 9 and column 8 is 7.
- Givens in row 7: column 2 is 6, column 3 is 3, column 4 is 8 and column 7 is 2.
- Givens in row 8: column 1 is 1, column 4 is 2, column 5 is 4 and column 8 is 3.
- Givens in row 9: column 6 is 5.
Opens after you see the reason in panel 4
Only one way to fill the whole gridThis puzzle has exactly one solution.
A puzzle gives only some digits, like these 30 framed cells. They can be completed in only one way, this grid: exactly one solution.
This picture shows one valid way to fill the grid. You cannot see “only one way” in a picture: it is a property of a proper puzzle, and this puzzle has been checked.
- givens
Read the board as text
- Row 1: 3 5 8 1 2 9 7 6 4
- Row 2: 4 7 6 5 8 3 1 2 9
- Row 3: 9 1 2 7 6 4 5 8 3
- Row 4: 2 9 7 4 5 6 3 1 8
- Row 5: 8 3 1 9 7 2 4 5 6
- Row 6: 6 4 5 3 1 8 9 7 2
- Row 7: 5 6 3 8 9 1 2 4 7
- Row 8: 1 8 9 2 4 7 6 3 5
- Row 9: 7 2 4 6 3 5 8 9 1
Read all steps as text (5 steps)
- This is a finished Sudoku grid. It has 9 rows, 9 columns and 9 boxes of 3×3 cells.
- Row 3 has each digit from 1 to 9 exactly once, and so does every other row.
- Column 7 also has each digit from 1 to 9 once, and so does every column.
- The middle box also has each digit from 1 to 9 once, and so does every box. That is the whole rule.
- A puzzle gives only some digits, like these 30 framed cells. They can be completed in only one way, this grid: exactly one solution.
What you learned, สรุปสิ่งที่ได้เรียนรู้
- The rule opens after you press “Show the reason” in panel 3
- The rule Every row, column and box has each digit 1 to 9 exactly once.
- This opens after you see the answer in panel 6
- One solution A proper puzzle has only one way to fill the whole grid by the rule.
7 Your Mission, ภารกิจของบทนี้
Goal
- State the Sudoku rule
- Check whether a filled row, column or box follows it, and if not, name the repeated and the missing digit
- Say that a proper puzzle has exactly one solution and that givens cannot change
The next panels will help you do all three
8 The Givens Never Change, เลขโจทย์เปลี่ยนไม่ได้
The digits with a thick frame are the givens. We only fill in the blank cells
Explanation
A Sudoku grid has 81 cells, in 9 rows, 9 columns and 9 boxes of 3×3 cells. The goal is to fill every cell with a digit from 1 to 9 so that every row, every column and every box contains each digit 1 to 9 exactly once. That is the only rule.
A puzzle starts with some digits filled in, called givens. Givens never change. A proper puzzle has exactly one solution: there is only one way to fill the grid by the rule. Most techniques use only the rule. One advanced technique you will meet much later (Unique Rectangle) also relies on the puzzle having only one solution. You do not need it now.
Watch out: the rule says nothing about diagonals.
Panel 6, The Big Question: This picture shows one valid way to fill the grid. You cannot see “only one way” in a picture: it is a property of a proper puzzle, and this puzzle has been checked.
9 The Diagonal Trap, กับดักแนวทแยงมุม
This grid's diagonal repeats 3, 7 and 2, but the grid still follows the rule
Example
Look at a finished grid and check the rule one row, column and box at a time.
10 One Repeats, One Is Missing, ซ้ำหนึ่ง ขาดหนึ่ง
This row has two 8s, so there is no cell left for 7
Why it works
- A row, column or box has 9 cells, and there are 9 digits.
- If a digit is repeated in a full row, column or box, some other digit must be missing, because there are not enough cells.
- So in a full row, column or box, "no repeats" and "every digit present" mean the same thing: each must contain every digit 1 to 9 somewhere.
- This is always true. Hidden Single uses point 3.
11 Try It Yourself, ลองเองบ้าง
Recap
Every row, column and box has each digit 1 to 9 exactly once. A proper puzzle has exactly one solution.
Check yourself
Answer in your head first, then open the answer
Complete the rule: every row, column and box must contain ___
Show answer
each digit 1 to 9 exactly once.
Which digit is missing from this row? 5 3 _ 6 7 8 9 1 2
Show answer
4 (1, 2, 3, 5, 6, 7, 8 and 9 are there).
What is wrong with this row? 7 3 4 6 7 8 9 1 2
Show answer
7 appears twice and 5 is missing.
True or false: a proper puzzle may be completed in two ways, and you may change a given if you need to.
Show answer
Both false. A proper puzzle has exactly one solution, and givens never change.
Practice
-
Item 1 of 2
Row 1 is full. Does it follow the rule? If not, which digit repeats and which digit is missing?
This board is an example for checking the rule. It is not a Sudoku puzzle to solve.
- row/column/box we look at
This board is an example for checking the rule. It is not a Sudoku puzzle to solve. Givens in row 1: column 1 is 5, column 2 is 3, column 3 is 8, column 4 is 1, column 5 is 9, column 6 is 3, column 7 is 7, column 8 is 2 and column 9 is 6. Row/column/box we look at: row 1.
Think first, in your head or on paper, then open the solution.
Show solution
Answer: No. 3 appears twice and 4 is missing.
Read all solution steps as text
- Row 1 has all 9 cells filled.
- 3 is in column 2 and in column 6. A row cannot repeat a digit.
- Row 1 has 9 cells, so if one digit repeats, another is missing. We check 1 to 9 and find no 4.
Read the board as text
This board is an example for checking the rule. It is not a Sudoku puzzle to solve. Givens in row 1: column 1 is 5, column 2 is 3, column 3 is 8, column 4 is 1, column 5 is 9, column 6 is 3, column 7 is 7, column 8 is 2 and column 9 is 6. Row/column/box we look at: row 1.
-
Item 2 of 2
The top-right box is full. Does it follow the rule? If not, which digit repeats and which digit is missing?
This board is an example for checking the rule. It is not a Sudoku puzzle to solve.
- row/column/box we look at
This board is an example for checking the rule. It is not a Sudoku puzzle to solve. Givens in row 1: column 7 is 4, column 8 is 9 and column 9 is 2. Givens in row 2: column 7 is 7, column 8 is 1 and column 9 is 6. Givens in row 3: column 7 is 3, column 8 is 8 and column 9 is 5. Row/column/box we look at: top-right box.
Think first, in your head or on paper, then open the solution.
Show solution
Answer: Yes. It has each digit from 1 to 9 once.
Read all solution steps as text
- The top-right box has all 9 cells filled.
- Go through 1 to 9 one by one. In the top-right box each digit is there once.
- No digit repeats and none is missing, so the top-right box follows the rule.
Read the board as text
This board is an example for checking the rule. It is not a Sudoku puzzle to solve. Givens in row 1: column 7 is 4, column 8 is 9 and column 9 is 2. Givens in row 2: column 7 is 7, column 8 is 1 and column 9 is 6. Givens in row 3: column 7 is 3, column 8 is 8 and column 9 is 5. Row/column/box we look at: top-right box.