Sudoku RoyaleDownload

Why Is My Sudoku Number Wrong When It Fits?

English

If an app marks a number wrong when nothing repeats, it is checking your digit against the puzzle's solution. A proper puzzle has exactly one solution, so every empty cell has one right digit from the start, and the app compares your entry with it. "No duplicate in the row, column and box" only means the digit is a candidate for that cell. If the cell has two candidates, one of them is wrong, and the board has not shown which yet. Below, the same cell of the same puzzle gets a digit that breaks a rule and a digit that fits, and you see how the second one fails.

Cells are named by row and column: r4c2 is row 4, column 2. Boxes are numbered 1 to 9, left to right and top to bottom, so box 4 is the middle box on the left.

Two ways a digit can be wrong

The puzzle is an easy one from the Sudoku Royale library, with 46 clues and one solution. In both examples the player writes in r4c2.

A conflict. A 2 in r4c2 repeats the 2 already in r6c1, in the same box. It breaks a rule on the spot, and any checker can see it without knowing the solution.

A 2 written in r4c2 repeats the clue 2 in r6c1, in box 4.12935928174317892395415846129329746595746126914C1R1C2R2C3R3C4R4C5R5C6R6C7R7C8R8C9R9
A conflict. The 2 in r4c2 (red) repeats the 2 in r6c1 (orange), both in box 4.

A digit that fits. Now the player writes a 7 there instead. Row 4, column 2 and box 4 have no 7, so nothing repeats. With every candidate filled in, r4c2 had two: 6 and 7. The 7 is a legal candidate. It is still wrong: the solution has a 6 in r4c2.

A 7 written in r4c2. Row 4, column 2 and box 4 are shaded and contain no other 7. Every empty cell shows its candidates.678612493546692358361746435176892667389542815846129372197346859574638212823814835823785768367893826935125742378C1R1C2R2C3R3C4R4C5R5C6R6C7R7C8R8C9R9
A digit that fits. The 7 in r4c2 (red) has no copy in row 4, column 2 or box 4 (shaded). The pencil marks are the full candidates after the 7 goes in.

Why the 7 is wrong

Look at what the 7 does to the cells around it. Before it, r1c2 had candidates 6 and 7, and r4c1 had 6 and 7. The 7 removes 7 from both: r1c2 is down to 6 through column 2, and r4c1 is down to 6 through row 4. And r2c1 had only a 6 from the start.

After the 7 in r4c2, the cells r1c2, r2c1 and r4c1 each have only the candidate 6.678612493546692358361746435176892667389542815846129372197346859574638212823814835823785768367893826935125742378C1R1C2R2C3R3C4R4C5R5C6R6C7R7C8R8C9R9
After the 7, r1c2, r2c1 and r4c1 (orange) can each only be 6. r1c2 and r2c1 are both in box 1, and r2c1 and r4c1 are both in column 1. The board cannot be finished.

Box 1 now needs a 6 in r1c2 and a 6 in r2c1. Column 1 needs a 6 in r2c1 and a 6 in r4c1. Write any one of those 6s and the next cell has no candidate left. So no finished grid has a 7 in r4c2, and the app knew that the moment you wrote it.

Here the contradiction shows up after one move because every candidate is on the board. With fewer pencil marks, or none, the same 7 can sit there for many moves before something breaks somewhere else. Tracing an error like that back to its source is what how to find a mistake in sudoku covers.

How the 6 was forced

On the starting board, r4c2 was not yet decided: two candidates, and neither 6 nor 7 was the only option in row 4, column 2 or box 4. Two other cells decide it in three steps.

The starting board with every candidate shown. r2c1 has only a 6, r1c2 has 6 and 7, r4c2 has 6 and 7.678671249354669235836174643517689266767389542815846129372197346859574638212823814835823785768367893826935125742378C1R1C2R2C3R3C4R4C5R5C6R6C7R7C8R8C9R9
The starting board with full candidates. r2c1 (orange) has only a 6. r1c2 (orange) and r4c2 (green) both have 6 and 7.
  1. r2c1 is 6. It is the only candidate left in that cell, a naked single.
  2. r1c2 is 7. It is in box 1 with r2c1, so it loses the 6 and keeps the 7.
  3. r4c2 is 6. The empty cells of column 2 are r1c2, r4c2, r6c2, r8c2 and r9c2. The last three can only be 1, 4 and 2. With r1c2 now a 7, r4c2 is the only cell left in column 2 for the 6.
With 6 in r2c1 and 7 in r1c2, the 6 goes in r4c2.7129356928174317896395415846129329746595746126914C1R1C2R2C3R3C4R4C5R5C6R6C7R7C8R8C9R9
The 6 in r2c1 forces the 7 in r1c2 (orange), which leaves r4c2 (green) as the only place for the 6 in column 2.

That is the difference between the two digits. The 6 has a reason you can name. The 7 only fit. A digit that fits is a candidate, and the rejection is telling you the cell was not decided yet. The hidden single and naked single guides cover the two reasons used above.

Why apps check against the solution

A checker can test a digit two ways. A conflict check looks only for a repeat in the row, column or box. It catches the 2 above and lets the 7 through. A solution check compares the digit with the puzzle's answer and catches both.

  • It stops the error before it spreads. A wrong digit that fits still removes candidates from up to 20 other cells. Every move built on those marks can be wrong too.
  • It is exact. There is one right digit per cell, stored with the puzzle, so the check never has to judge whether the board "still works".

It tells you that, not why. The app knows the 7 is wrong. The reason, the 6s in box 1, is yours to find, as above.

A solution check depends on the puzzle having one solution. If a set of clues allowed two, the app would hold one of them and mark the other one's digits wrong, even though they fit every rule and lead to a full grid. That is the case where the puzzle is at fault rather than you, and why good sources prove each puzzle unique before publishing it. Can a sudoku have more than one solution shows what such a puzzle looks like.

When your digit is marked wrong but fits

  1. Count the candidates. Look at every digit the cell's row, column and box still allow. If there are two or more, the cell is not decided, and you picked one.
  2. Follow your digit one step. Check which nearby cells lose a candidate because of it. A cell left with nothing, or two cells in one row, column or box left with the same single digit, is the proof, as with the 6s in box 1.
  3. Find the cell's reason, or leave it. If you cannot name one yet, place something else first. Here r2c1 was the move to make.

Writing a digit where it fits instead of where it must go is one of the four errors played out in common sudoku mistakes beginners make, with a checklist for each.

What Sudoku Royale Practice does with a wrong digit

In Practice mode in Sudoku Royale, every digit you place is compared with the puzzle's solution. A conflicting 2 and a fitting 7 get the same answer: the board shakes, the screen flashes red and the cell stays empty, and the entry counts as a mistake. The app does not tell the two apart and does not say why. Practice has no mistake limit, and the total appears as Mistakes on the result screen. In the Daily Challenge you get three lives, and each mistake adds 30 seconds to your time. After the third mistake the run is unranked, but you keep playing.

If you cannot find the cell's reason, the hint bulb names the technique for the next move for free. "Where to look" (10 Shuriken) highlights the area, and "Show me" (20 Shuriken) walks through to the answer. Shuriken are earned by solving. Every puzzle in the app has exactly one solution, so a rejection never means the puzzle is at fault. Sudoku Royale is free with no ads, on iPhone and iPad.

Frequently Asked Questions

Why is my sudoku number wrong when there are no duplicates?

The app compares your digit with the puzzle's one solution, not only with the rules. A digit with no repeat in its row, column and box is a candidate, but if the cell has two or more candidates only one is right. The wrong one breaks the board a few moves later.

Can a valid sudoku number be wrong?

Yes. A digit can follow every rule on the current board and still be wrong, because the puzzle has exactly one solution and that cell holds a different digit in it. Follow the digit's effect on nearby cells and you will reach a cell with no candidate or a digit with no place.

Do sudoku apps check against the solution or the rules?

It depends on the app and its settings. A conflict check only flags a repeated digit. A solution check compares each entry with the stored answer and also flags digits that fit but are wrong. Sudoku Royale uses a solution check.

What happens when I enter a wrong number in Sudoku Royale?

The board shakes, the screen flashes red and the cell stays empty, and the entry counts as a mistake. In Practice there is no mistake limit. In the Daily Challenge you have three lives and each mistake adds 30 seconds; after the third mistake the run is unranked, but you keep playing.

Sudoku Royale: classic sudoku, no ads, live matches when you want themDownload Free