Thursday, April 26, 2007

Solving a Difficult Sudoku: The "Uniqueness" Method

I can't sit in the Cube at the Desk of Hate all day long. When it's time for this monkey to have a smoke, I usually take a sudoku puzzle with me. I do 'em in the train to and from work as well. I've done so many that I can do most puzzles at the hardest level in under 10 minutes. Luckily, Berti hates smoke and so avoids the smoking room which means I'm not subject to his opinions on how the puzzles work.

I don't use strategies such as "Advanced cross-hatching", "X-wing", "Swordfish" and the like; to me they're obvious and nothing more than long names and descriptions for what I already do: scan numbers in rows and columns and when those are all set, start looking for pairs and triplets. However, there's a rule I came up with a year ago which I call "Uniqueness". No other site ever explained this, and when I sent it to the guy with the former Numbah Wun sudoku strategy site, he gave me nothing but a "Pish and tosh". Fine. Fuck 'im. He's wrong, I'm right, you benefit.

NOTE: This method does not work on Killer or Killer-variant Sudoku puzzles because the numbers are also related mathematically due to the cages. It does work on everything else.

This Uniqueness method can be demonstrated with Websudoku's Evil Puzzle #7,645,498,690.








First we get some preliminary numbers out of the way:
















In looking for pairs we have two blocks with 5 and 6. If all four of those boxes are either 5 or 6 then this is an illegal puzzle. It would have two answers.

















One square also has an additional alternative Since Uniqueness demands that it cannot be either 5 or 6, this alternative must be the answer.

















After that one certainty, we can fill in a lot of numbers, starting with the 1 in the bottom left quadrant since 5 and 6 are still blocked in that row, forcing the top to be a 6, forcing the number below the newly-placed 1 to be a 6, and so on. From 45 open spaces we're down to 29.








On Monday I came across Websudoku's Evil Puzzle #8,351,019,029:





















After some quick scanning to fill in the obvious, we've got this:



















Pretty simple, but now what?

I noticed the 1 and 9 in the bottom middle block, and this is significant because there's a 1/9 pair in the top middle block:



















Now that still leaves three empty spaces for which I only know two numbers but then Uniqueness comes into play. In the example, blocks A and B both include the same 1/9 pair while block D has the 1/9 and a third number:



















There's only one of three possible ways to fill two of the circles with 1/9 which gives a legal result. Circles B and C can't be 1/9 since there's already a box in that column which can only be a 1/9. Circles A and C can't be 1/9: this would violate the Uniqueness property allowing two different ways to solve for 1 and 9. That leaves A and C:



















Since the 3 and 8 in the second row from the bottom can only be placed on the top of this bottom middle box, position B must be a 4.

This is the first time that I've come across Uniqueness being a factor early on. It normally appears fairly late in a puzzle with a pair somewhere and the same pair mirrored elsewhere but with a third possibility for one of them. The Uniqueness strategy always works (by definition it must), and is often the last recourse before guessing.

While extremely rare, Uniqueness can also be used if nine spaces house the same pairs/triplets over three rows or columns, along with one extra possible digit in one of those spaces. If I see it again I'll add it here.

These days I'm doing "Killer", "Greater-Than", and "Greater-Than Killer" sudokus. These fuckers aren't kidding when they call their weekly puzzles "mind-bending". I'm grateful to Websudoku (as well as to Sudoku.org.uk) for all the puzzles they've provided me but these days I'm getting more challenging stuff from Killer Sudoku Online. If anyone has any links to sites which offer regular supplies of other sudoku variants (pips and shared cell, for example) please let me know in the comments.

Note: These graphics gave me a chance to try out Paint.NET for the down-and-dirty crap I normally do in PaintShop Pro 3. While it's still young, it's pretty damned good. An imitation Photoshop to be sure, the features it lacks are made up for by the ease of use. They need to make layers copyable and savable; I had to draw the red shading for each graphic individually. The learning curve's very shallow if you know Photoshop and still not terribly steep if you don't.

x-posted from HuSi, where there's a poll.

Labels:

13 Comments:

Blogger Minidoku pulled out a crayon and scribbled:

Well done ! this "uniqueness" rule is clever indeed.
Regarding other sudoku variants.... have a look at my own, new blog at http://minidoku.blogspot.com where you can solve tough "minidoku" variants online !

27 May, 2007 23:06  
Blogger Jeff pulled out a crayon and scribbled:

Looking for another source of puzzles? I found some interesting ones here:

http://www.krazydad.com/puzzles.php

Krypto Karuko, Killer Sudoku, regular Karuko and Sudoku, SlitherLink, even a kid friendly "Kidoku"

08 October, 2008 23:34  
Blogger carolina pulled out a crayon and scribbled:

You could also visit Domo-Sudoku if you want to play sudoku and variations through this "uniqueness" method...

19 May, 2009 02:04  
Anonymous Sudoku Strategies pulled out a crayon and scribbled:

interesting method. got to love sudoku. unlimited neat methods out there

06 May, 2010 21:43  
Blogger zikakiss pulled out a crayon and scribbled:

This post is very confusing. Are there typos? I can't follow your instructions and I've been doing sudoku for about 6 years now, so I know it's not that can't comprehend the method, I just can't follow the instructions. Please help me. Thanks!

21 October, 2010 16:51  
Blogger Dai Kui pulled out a crayon and scribbled:

I agree with zikakiss, though I'v been playing sudoku for over 5 years now, I also can't follow the instructions. Would appreciate the help, thx.

19 April, 2011 03:08  
Anonymous Anonymous pulled out a crayon and scribbled:

ingenious! I have come across puzzles that have been illegal in this exact way, though, but they were "killer" sudokus.

13 November, 2011 21:25  
Anonymous Anonymous pulled out a crayon and scribbled:

Cannot understand. You must be the only one who understood it. Do something right or Go Fuck yourself. Don't fuck us without reason.

04 February, 2014 08:06  
Anonymous Anonymous pulled out a crayon and scribbled:

Here are some of exclusive Sudoku secretes that aren't seen anywhere else http://bit.ly/1fMHWxv

19 March, 2014 11:28  
Anonymous Anonymous pulled out a crayon and scribbled:

moronic, shows a 7 in the 3rd column (from the left) at the top square (when there's already a 7 in the overall block). wake up

07 December, 2015 18:19  
Blogger Diokamos pulled out a crayon and scribbled:

This comment has been removed by the author.

10 July, 2016 11:58  
Blogger Diokamos pulled out a crayon and scribbled:

My apologies...It is not your fault that I am dumb.
No rooster sings clearer.
I understood.
Master stroke...real impressive and clever.
I withdrew my commentary...humbly
Please check the references to circles A, B and C in your second example.
A slip of the pencil, perhaps
And Thenk You So Much.
Dio

11 July, 2016 18:35  
Blogger Play Free Online 32 pulled out a crayon and scribbled:

Sudoku Online



Sudoku Online



Sudoku Online



Sudoku Online



Sudoku Online



Sudoku Online



Sudoku Online



Sudoku Online

09 May, 2017 12:47  

Post a Comment

Links to this post:

Create a Link

<< Home

In compliance with $MegaCorp's general policies as well as my desire to
continue living under a roof and not the sky or a bus shelter, I add this:

DISCLAIMER:
The views expressed on this blog are my own and
do not necessarily reflect the views of $MegaCorp, even if every
single one of my cow-orkers who has discovered this blog agrees with me
and would also like to see the implementation of Root Cause: 17-Fuckwit.