sivodsi wrote:.. it gets really messy with paper and pen. I don't like doing Sudoku on a computer, so how can it be done neatly?
This is, how you could do it without filling out all candidates:
Lets start from your situation above:
- Code: Select all
8 7 4 | 2 . 9 | 5 . .
. . . | . . 7 | . . .
6 . . | . 4 8 | . . 7
7 3 6 | 8 9 5 | . . 2
9 8 5 | 4 2 1 | 3 7 6
1 4 2 | 6 7 3 | 9 5 8
3 . . | . 1 . | . . 4
4 . . | . . . | . . .
. . 9 | 7 . 4 | 6 . .
Lets look for pairs:
Obviously are those in column 1 and 6.
Now hidden pairs are easier to spot.
Since 78 are in box 1, they have to be in rows 78 of column 3. Then 13 are left for r23c3.
48 must be in r2c78, because rows 1,3 and column 9 both have 48.
Then look, where only 3 cells are remaining:
In the first row only 136 are left, 36 for c5, 13 for c9.
Now lets count the remaining candidates, but stop, where more than 2 are left.
We get here (on paper i give small numbers to the candidates):
- Code: Select all
8 7 4 | 2 36 9 | 5 . 13
25 . 13 | . . 7 | 48 48 .
6 . 13 | . 4 8 | 12 . 7
----------------------------------
7 3 6 | 8 9 5 | 14 14 2
9 8 5 | 4 2 1 | 3 7 6
1 4 2 | 6 7 3 | 9 5 8
---------------------------------
3 . 78 | 59 1 26 | . . 4
4 . 78 | . . 26 | . . .
25 . 9 | 7 . 4 | 6 . .
Now we can notice, what i said above. Since the 1 has to be either in column 8 or 9 of row 1, it cannot be in r3c7 (of the same box). So r3c7=2. Lets look, what it helps in the same row/col/box:
Having in mind, that the 1 in box 3 is reserved to row 1 (and the 48-pair), we can see, that only 39 remain for both r2c9 and r3c8 (and 78 remains in r7c6). This is the hardest step (but filling in all remaining candidates of the box would show it anyway).
The 39-pair gives us a 1 in r1c9, 6 in r1c8 (then r2c5) and 3 in r1c5 (then r8c4).
[Edit: An advanced solver would look for unique rectangles here: From the 13-pair in box 1/column 3 we know that not both 1 and 3 can be in r23 of column 4. Since the only free cell in the column is r8c4 and we already have a 1 in this box, r8c4 must be 3 - and r7c4=9]
- Code: Select all
8 7 4 | 2 3 9 | 5 6 1
25 . 13 | . 6 7 | 48 48 39
6 . 13 | . 4 8 | 2 39 7
----------------------------------
7 3 6 | 8 9 5 | 14 14 2
9 8 5 | 4 2 1 | 3 7 6
1 4 2 | 6 7 3 | 9 5 8
---------------------------------
3 . 78 | 59 1 26 | 78 . 4
4 . 78 | 3 . 26 | . . .
25 . 9 | 7 . 4 | 6 . .
With the 3 in r8c4 we get 9 in r7c4, 5 in r7c2, 2 in r7c8 and r9c1 and so on ...