NewsBin 0 discussing
--:--:--
Daily Reset
NewsBin
--:--:--
Until Daily Reset
Mainstream Hacker News • 3 hours ago

Sudoku's Hidden Rule

The sudoku folk are not one without controversy. There is an unstated rule that can push us to the solution of a puzzle without necessarily only using the stated basic sudoku rules. Some find the use of an unstated rule a bit distasteful or at least against the spirit of the solve. Given I am just someone who likes to have something to do on my phone instead of consuming content. I like to use every advantage I can within reason while not robbing myself of the experience. I’m talking about uniqueness. The unstated rule that makes a sudoku “valid” [0]. “This puzzle has exactly one solution.” There are solving techniques that arise from the assumption of validity, that to me do not muddle the solving experience and are very logically interesting to my brain. Unique Rectangles The most common technique is a “unique rectangle” which is a form of “deadly pattern”. A “deadly pattern” is a pattern in the puzzle that would mean this puzzle has more than one solution. If we assume the puzzle is valid, then we can also assume that no deadly pattern can ever exist in the puzzle since it has one and only one solution. Look at this snippet of a sudoku grid, in the four notated cells we will assume there are only two possible options for values in the cells, either a 2 or 3. This arrangement is considered “deadly” because it allows for two different possible solutions. Solution 1 Solution 2 Thus we know that this would never actually appear in a valid sudoku, if it does then our notation is probably wrong. However, what might appear is something like this. In this case we have an almost deadly pattern, the only thing saving us is the possibility of a 1 in the top left. So, since we know we cannot have a deadly pattern we must use the 1. Bivalue Universal Graves Let’s look at one more deadly pattern. For example’s sake, let’s assume the rest of the grid is filled in correctly and these cells are the only ones left not filled in. We can see that every single open cell has exactly 2 possible options. This means that there are now exactly two solutions to the puzzle, for any given cell, pick an option and the rest of the puzzle will fill in. Pick the other option and you will get a different solution.

Original story by Hacker News • View original source

0 comments
0 people discussing

Anonymous Discussion

Real voices. Real opinions. No censorship. Resets in 16 hours.

No account needed Anonymous • Resets in 16h

Loading comments...

About NewsBin

Freedom of speech first. Anonymous discussion on today's news. All content resets every 24 hours.

No accounts. No tracking. No censorship. Just honest conversation.