How to Solve Hard Sudoku New York Times 3rd March, 2021: Easy Solution
How to solve hard Sudoku New York Times March 3, 2021 explains each breakthrough.
Sudoku techniques and Sudoku patterns explained separately.
Sudoku techniques are also highlighted in the solution to the New York Times hard Sudoku 3rd March, 2021.
- Sudoku terminologies used.
- Sudoku techniques for hard Sudoku puzzles.
- Solution to the hard Sudoku 3rd March 2021 of New York Times.
To skip the terminologies and move on to Sudoku techniques, click here.
And to skip both and move on to the solution direct, click here.
Terminologies used in explaining solution to the hard Sudoku
Row column labels and names for 9 cell squares
The 9 by 9 Sudoku game has 81 cells in 9 rows and 9 columns.
Rows are labelled R1 to R9 and columns C1 to C9.
81 cells are further divided into 9 groups of 9 square cells. These are either referred as top - left, middle, right; bottom - left, middle, right and left middle, central middle and right middle.
These 9 square cell groups are also referred by their specific labels joining the labels for the three rows and three columns. For example the specific label for the left middle 9 cell square will be R4R5R6-C1C2C3.
Convention followed is to mention row label suffixed by the column label. For example the top leftmost cell is referred as R1C1.
9 by 9 Sudoku has three conditions for a digit to occupy a cell,
- No digit can be repeated in any row. Every row must have the 9 digits 1 to 9 without repetition.
- No digit can be repeated in any column. Every column must have the 9 digits from 1 to 9 without repetition.
- Each of the 9 numbers of 9 cell squares must be filled up by exactly 9 digits from 1 to 9 without repeating any digit.
Row column scan for a digit
This is the simplest for identifying a cell where only one digit CAN be placed. No other cell in the 9 cell square, the row or the column containing this specific cell would have this VALID digit except this specific cell that you have found.
In the Sudoku puzzle figure below, by row column scan for digit 1 on top right 9 cell square R1R2R3-C7C8C9, with 1 in row R3, and 1 in column C8, 4 out of 5 empty cells in the 9 cell square are invalid for placing 1. As a result, the digit 1 can be placed in the single remaining cell → R1C9 1. It is the single digit candidate for the single cell R1C9.
Possible digit subset (DS) in a cell
For every empty cell there will be a subset of the 9 digits each of which will be a potential candidate for the cell. This is the possible digit subset or possible DS for an empty cell.
In the hard Sudoku puzzle figure below, possible DS for R3C7 is [3,4,6]. These three digits do not appear in the three parent areas: top right 9 cell square, the parent row R3 and the parent column C7.
In the 9 cell square, filled DS is [2,7,8,9]. Cell R3C7 is in two more affecting areas, the row R3 that has filled DS [1,7,8,9] and the column C7 with filled DS [2,5,8,9]. These two together has digits [1,5] extra to what the 9 cell square has.
The filled DS for R2C7 becomes [1,2,5,7,8,9]. Possible digit subset [3,4,6] are missing in this set of filled digits and these are the only digit candidates or possible DS for R2C7 that can occupy the empty cell.
Instead of three possible digits, if it were a single possible digit, we would have a hit and the cell would be filled with the digit.
Let's enumerate the possible digit for cell R2C8. Filled DS for this cell is [1,2,3,4,6,7,8,9] with only 5 missing. Possible DS is single digit 5 → R2C8 5. Git a hit.
By the term DS in the solution, possible digit subset is indicated.
Digit subset analysis or DSA and Strategy on DS evaluation for all empty cells
When no valid cell by row column scan is visible by row column scan, try to find a cell for which DS has a single digit. The cell will then have a valid digit and complexity of the game will reduce a little.
In the above figure, by DSA on cell R2C8 single digit candidate 5 for the cell is found. A row column scan for 5 on this cell won't have given this hit. That's the advantage of DSA over row column scan.
As a strategy,
Apply DSA on cells in an area with many filled digits in the overlapping rows, columns and 9 cell square. Focus on ONE 9 cell square.
In the example, focus has been on top right 9 cell square.
DS generally is evaluated in heavily filled up zones to keep its length short. This speeds up solution and reduces labor.
This technique is still easy and is the savior oftentimes.
Do not attempt to enumerate DSs for all empty cells at the start of solution unless absolutely forced.
- First reduce number of empty cells as much as possible by Sudoku techniques of Row-column scan and Digit subset analysis.
- While doing row column scan, always look for a potent single digit lock and whenever found record it.
- While doing the digit subset analysis, go on to fill the short length DSs that are easy. These short length DSs will have the advantage of discovering powerful simplifying pattern of Cycles.
These three steps are overlapped till a point is reached when no simplifying pattern can be found unless longer DSs of empty cells are evaluated. Only now start evaluating DSs of length preferably 3 (4 occasionally, never 5), but that too in promising areas.
Two points to remember,
- A hard Sudoku game from a reliable source WILL HAVE A SINGLE SOLUTION and that too a SINGLE THREADED SOLUTION.
- For such a good hard Sudoku puzzle, for hiding the SINGLE CRITICAL BREAKTHROUGH Sudoku PATTERN, CENTRAL MIDDLE SQUARE is the most promising area. In any case, there will certainly be a single critical breakthrough pattern for a good hard Sudoku game.
Cycle of digits
If 2 digits, say [4,6], appear as a lone pair in 2 cells (without any other digits possible in the two cells) of a 9 cell square, a column or a row, a Cycle of 2 digits is formed.
These two digits have to be placed in either of these two cells in the Cycle and in no other cell of the parent zones 9 cell square, the column or the row containing the lock. (a ZONE is a 9 cell square, a row or a column).
The two digits can then be eliminated from all the DSs of the parent zones of the Cycle.
A Cycle of 3 digits in 3 cells are encountered often. 4 cell Cycles can also be useful if it can be located.
Cycles are valuable patterns to identify.
Examples of Cycles shown.
Cycles in C9: (4,6) in R5C9, R6C9 in C9 and right middle 9 cell square, Cycle (1,2,3,5) again in C9 in cells R1C9, R4C9, R8C9 and R9C9.
Cycles in top right 9 cell square: Cycle (3,4,8) in C8 and top right 9 cell square in cells R1C8, R2C8, R3C8, Cycle (1,2) in R1 and top right 9 cell square in cells R1C7, R1C9,
Cycle in C1: Cycle (3,5) in C1 in cells R6C1, R8C1,
Cycle in R8: Cycle (3,5) in R8 in cells R8C1, R8C9.
- A Cycle may occur in a row, a column or ALSO in a 9 cell square. Occasionally a Cycle belongs to a row (or column) AND a 9 cell square.
- A Cycle of 2 digits always is on a row (or column) and a 9 cells square. This is seen often. Its effect is—elimination of all digits in the Cycle from the DSs of the empty cells of the affected areas.
- A Cycle of 3 digits also is seen often and occasionally belongs to a row (or column) AND a 9 cell square. Its effects is same. All its digits get eliminated from the DSs of empty cells in the affected areas.
- Identify and use 2 and 3 digit Cycles as much as possible.
A 4 digit Cycle is relatively rare and its appearance in a row or column is invariably interlinked with a possible Parallel scan on the row (or column) in which the 4 digit cycle appears.
Single digit lock - Conditions for single digit lock - how to identify it
Two conditions for single digit lock pattern,
- the digit can be placed in only two or three cells of a column or a row, AND,
- the locking cells must also be in SAME 9 cell square.
For a single digit lock to be effective, the locked digit should not be present as a single cell candidate in both the adjacent two 9 cell squares through which the locked column or row passes.
Such a single digit lock satisfying the third condition also, is referred to as a Potent Single Digit Lock.
The following shows an example of a potent single digit lock of 5 in cells R7C1 and R9C1.
How a single digit lock is formed
Look at columns C1, C2 and C3 in the bottom left 9 cell square R7R8R9-C1C2C3. Out of 3 empty cells, the cell R7C3 is debarred for placing digit 5 as column C3 has a 5 and it lights up the cell for digit 5.
5 can appear only in two cells in column C1, R7C1 and R9C1 and in no other cell in the 9 cell square or the column C1.
It is locked inside these two cells in C1 and 9 cell parent square.
How a Sudoku single digit lock is used - What it does
The locked digit 5 eliminates itself from the DSs of the other two empty cells R5C1 and R6C1 and a new Cycle (2,3) is created in C1.
Focus again on the bottom left 9 cell square. With Cycle (2,3) in C1, another Cycle (5,9) is formed in the two cells of the 9 cell square. As a result, digit 1 becomes the only digit left and cell R7C3 only cell left for it.
Still more happens. With 1 in C3 now, digit 9 now must occupy the cell R6C3.
These two single digit candidates obtained by the single digit lock of 5 affects other cells and breaks the bottleneck.
As a strategy, always form a single digit lock as soon as it is discovered.
It is a powerful digit pattern. Even if its effect is not immediate, it should have positive results later.
Step by step Solution to Hard Sudoku New York Times March 3, 2021
Scan for 1: 1 in R1, R3 → R2C3 1.
Scan for 4: 4 in R5, C5, C6 → R4C4 4.
Scan for 6: 6 in C1, C3, R6 → R4C2 6 → scan for 6 in R4, R6 → R5C8 6.
Cross-Scan for 6: 6 in R8, C4 → Single digit lock on 6 in R7C6, R9C6.
Scan for 6: 6 in R2, C4, C6 single digit lock → R3C5 6 → scan for 6 in R4, R6 → R5C8 6.
Double digit scan for [1,9] in C7, C9 and left middle 9 cell square → Cycle (1,9) in C8 cells R4C8, R6C8. This creates a less important Cycle (3,4,5,7) in left middle 9 cell square.
Two more Cycles (3,4,5) and (6,8) created in C9 by DSA on empty cells. But these do not result in any hit at this moment.
DS enumeration in most heavily filled (5 cells filled) top left 9 cell square → DS (2,7,8) for both R1C2, R3C2.
Hopeful to get a Cycle, applied DSA on R9C2 → DS [2,8], Cycle (2,7,8) in C2 reduces the DS in two empty cells left R6C2, R7C2 to [1,9].
Identify parallel scan for 3 on C5: 3 in R2, 3 in central middle square → R8C5 3.
This is a breakthrough.
More next stage.
With 3 in R8 → R8C9 4 → R6C9 5 → R4C9 3 → R4C7 7 → R6C7 4 → R6C5 8 → R6C1 7.
With 8 in C5 Cycle (2,5) in R2C4, R2C5 → R2C8 8 → R1C9 6 → R7C9 8.
DSA on R8C7: DS in R8 [1,2,7,9], [1,7,9] in C7 and bottom left square → R8C7 2 → R8C8 7.
DS in three empty cells of bottom right 9 cell square [3,5,6], 6 in C8 → Cycle (3,5) in R7C8, R9C8 → R7C7 6 → R9C6 6 by scan for 6 in R7, R9.
DS on R1C7 [2,3,4,5] → R1C7 3 → R3C7 5.
More next stage.
DS [2,4,7,8] in R1, Cycle (2,5} eliminates 2, DS in R1C4 [7,8], 8 in C4 → R1C4 7 → R1C6 8 → R1C2 2 → R1C8 4 → R3C8 2.
3 in R6C6 → R3C6 9 → R3C4 3.
2 in R1C2 → R9C2 8 → R3C2 7.
Rest next stage. No more challenges left.
Finding the rest of the single digit candidates for empty cells is straightforward but tedious. To be done carefully.
The single digit candidates filled at this final stage are colored pink. These are filled step by step but the step details are not mentioned.
Check yourself for correctness.
Final solution shown below.
The Sudoku puzzle is normal hard that needed application of a number of advanced Sudoku techniques to overcome multiple barriers.
Apart from basic row column digit scan and DSA or possible digit analysis for a cell, the advanced Sudoku techniques used are,
Cycles, Single digit lock, Parallel row scan for a digit on a column and Double digit scan.
If you are still reading this and you are not so experienced in solving hard Sudoku puzzles, just leave aside the solution and solve the puzzle yourself.
For full enjoyment, avoid looking into any solution as well as the answer.
The joy of discoveries will then all be yours.
Other Sudoku puzzles you may like to go through at leisure
Hard Sudoku level 4 puzzles
New York Times Hard Sudoku puzzles
How to solve hard Sudoku New York Times March 3, 2021
Hard Sudoku level 3 puzzles
You may access all hard Sudoku level 3 solutions at Third level hard Sudoku.
Medium level 2 puzzles
You may read through all medium level 2 solutions at Second level medium Sudoku.
For beginners, Sudoku beginner puzzle solutions are at Beginner level Sudoku.