I've received a lot of interesting comments and questions from Sudoku fans over the last few years and this page
is where I try to answer them. I'm also directing Str8ts feedback here. Please feel free to drop me a note on the side of the page. Or you can email me directly at andrew@str8ts.com.

Post a Comment or Question here...

Wednesday 23-Dec-2015

... by: Stephen, UK

I didn't know until today (when I was stuck and entered the Sudoku in your solver) that a number appearing once in a diagonal was the solution for that square.

Andrew Stuart writes:

Sure you weren't looking at a Sudoku X puzzle? That is where the diagonals have a uniqueness condition http://www.sudokuwiki.org/sudokux.htm However, some normal Sudoku can have a solution with uniqueness in the diagonals, but its no help unless you know that - which you can't until the puzzle is completed

Saturday 19-Dec-2015

... by: Robert, usa

I've noticed that your solver doesn't always solve your killer puzzles. For example, both Friday's and Saturday's puzzles couldn't be solved using the solver. [12/18 and 12/19/15]

Andrew Stuart writes:

That is weird and has been pointed out to me recently. I know I’ve updated the Killer stuff in places over the last year, but it should not be two steps forward, one step back. Nothing *should* make an old puzzle harder or impossible since it was created. Generating and solving a puzzle are two sides to the same coin. Something is not quite right so I'll have to find time to figure it out.

Stepping through the solution, how in the world can swordfish be used in step 25 in the following manor?

Sword-Fish (Row-Col) 5 taken off F6, SF=DFH159 (Row-Col) 5 taken off H2, SF=DFH159

My understanding is that a common candidate must be in all of the 3x3 cells. 5 is not in cells D1 and H9.

Andrew Stuart writes:

Eliminations are correct. That is a 2-3-2 swordfish based on the missing 5s in those cells. Not necessary for all 9 cells to have the common candidate, have a look again at www.sudokuwiki.org/Sword_Fish_Strategy

Wednesday 25-Nov-2015

... by: Kirk, Canada

Found somewhat a workaround to a bug in the solver.

If, for example... 008000006100900000000000002000002000300050070000064000090800630002000000064000000

... I got...

All Solutions to a Sudoku

Timed Out!

There are simply too few clues for a solution count to be able to return a value in a reasonable amount of time. This may or may not be a valid sudoku with a single solution.

... But quarter rotate the board (clockwise -- arrow button)... 000030010609000000420000008008000090000650000000402000006000000003070000000000206

... it gave what I believe is the one correct end result. Just thought to share this bit of info.

Andrew Stuart writes:

Not a bug: that’s expected behaviour. The way Solution Count works is to insert every possible number into the grid starting at the top left, working the row and then going onto the next row. To make this work in a second or so there is a fast way to block potential dead ends and reduce the search space. Each insertion removes that number from the rest of the board according to the Sudoku rules (unique in row,column and box). Backtracking up a failed path restores the numbers. How large the search space is depends on the density of clues at the start of the search. Ie, few clues in the top left = much longer time. Rotating the puzzle will change the density. There are many symmetries in Sudoku in addition to rotation and one of them will be optimal for this algorithm. I would like to add a check at the start to decide which rotation would give the best performance. Any correctly implemented symmetric transformation will still give the same number of solutions - and the same grade and solve path (except for those strategies which also have a top-left/bottom-right search bias)

Hope that’s interesting

Saturday 21-Nov-2015

... by: Chuck, Virginia

Hello Andrew,

I have noticed that all of the "hidden pairs" examples I have seen, both on your site and others, do not have any candidates that can be removed from the "hidden pair" once it is made "naked". For example, if the hidden pair is made up of 4s and 7s, there are no 4s or 7s that can be eliminated. Only the numbers that are hiding the "hidden pair" can be eliminated. Is that just a coincidence or is that a hard fact? I guess I'm missing something here, please help.

Chuck

Andrew Stuart writes:

It’s a hard fact. They are different sides to the same coin. Applies to Singles, Triples, Pointing Pairs / LBR They produce a Naked set after eliminations. Where a Naked set goes onto remove more candidates will only occur in another different unit. For example a Pair might be uncovered in a Box but then the same new Naked Pair can go on to remove candidates in a column (outside the box). This happens a lot in Jigsaw Sudoku

Tuesday 10-Nov-2015

... by: Dave G, Uk

I enjoy the daily sudoku puzzles which are wonderful value but I find the number of times extreme strategies are required to solve tough rated puzzles very frustrating. However keep up the good work - I would rather be frustrated than not have the puzzles. Beat regards David

Andrew Stuart writes:

Good point. I've just been working on calibrating grades for the new Windoku puzzles, so I've taken a look at the 'tough' puzzles in the Daily Sudoku list. I can indeed see about 15% which are using extremes and about 5% which are too 'boring' in having very little strategy stuff at all. There is a warning flag for both these possibilities so I've used that again on the tough set to replace the ones with the warnings with new ones that don’t. So overall I think that grade will have less outliers it in now.

Killer Hard Combinations KILLER COMBO (Hard) on cage starting on A2: cage of size 3 with clue of 13+ can only be 1/2/3/4/5/6/7/8/9 - we can remove 9 from B2

Andrew Stuart writes:

OK this works out this way: The 1/2/3/4/5/6/7/8/9 is built up of all the combinations that make 13 with three cells. That is literally true. Hover your mouse over the cage in the small cell. But there is only one combination that includes 9 - {1,3,9}. There is only one cell with a 9 available - B2, so 1 and 3 must go in A2 and A3. But there is no 3 available in any cell, so this combination isn't available, hence 9 can be removed from B2.

I can see the virtue of expanding the result explanation to explain this, tricky to generalise

Tuesday 3-Nov-2015

... by: John, Wisconsin, USA

Hi Andrew, I really like your website and book--well done! My brother and I do Sudoku remotely, and often compare our solutions to yours. Recently my brother got the edge on me when he discovered W-wing, which I'm pretty fuzzy on. I didn't see it anywhere on your site--am I missing something? Thanks! John

Andrew Stuart writes:

W-Wings are encoded in the solver as an experiment/investigation into a larger family of wings. But I've found they duplicate other strategies and I've decided not to release them. Their adherents claim these are all unique patterns worth looking for but I think they are formations of a more general wing-type and don’t need to be broken up into these family types. I'll try and get a page up at least of w-wings. Google might have some example on various forums in the meantime.

Did this W-Wing appear in the solver?

Thursday 22-Oct-2015

... by: Brian, US

Just want to tell you that the Sudoku Solver is a gorgeous piece of work. Thanks!

Andrew Stuart writes:

Thanks Brian!

Saturday 29-Aug-2015

... by: Bob Lester, USA

Any plans for a kakuro solver?

Andrew Stuart writes:

Kakuro is a nice puzzle, one do make them and have an offline solver, in that sense. But there's not many different strategies to it, it's pretty much combination elimination all the way. I've thought about it but I'd like to get more newspapers taking the puzzle before I put the time into it. Happy to be pointed at examples that are interesting though. Also, Kakuro can come in any size and shape making it very awkward to design a solver interface.

## Wednesday 23-Dec-2015

## ... by: Stephen, UK

http://www.sudokuwiki.org/sudokux.htm

However, some normal Sudoku can have a solution with uniqueness in the diagonals, but its no help unless you know that - which you can't until the puzzle is completed

## Saturday 19-Dec-2015

## ... by: Robert, usa

## Friday 18-Dec-2015

## ... by: grommetik, Maryland, USA

Load Sudoku: CLICK TO LOADSword-Fish

(Row-Col) 5 taken off F6, SF=DFH159

(Row-Col) 5 taken off H2, SF=DFH159

My understanding is that a common candidate must be in all of the 3x3 cells. 5 is not in cells D1 and H9.

www.sudokuwiki.org/Sword_Fish_Strategy

## Wednesday 25-Nov-2015

## ... by: Kirk, Canada

If, for example...

008000006100900000000000002000002000300050070000064000090800630002000000064000000

... I got...

All Solutions to a Sudoku

Timed Out!

There are simply too few clues for a solution count to be able to return a value in a reasonable amount of time. This may or may not be a valid sudoku with a single solution.

... But quarter rotate the board (clockwise -- arrow button)...

000030010609000000420000008008000090000650000000402000006000000003070000000000206

... it gave what I believe is the one correct end result. Just thought to share this bit of info.

Hope that’s interesting

## Saturday 21-Nov-2015

## ... by: Chuck, Virginia

I have noticed that all of the "hidden pairs" examples I have seen, both on your site and others, do not have any candidates that can be removed from the "hidden pair" once it is made "naked". For example, if the hidden pair is made up of 4s and 7s, there are no 4s or 7s that can be eliminated. Only the numbers that are hiding the "hidden pair" can be eliminated. Is that just a coincidence or is that a hard fact? I guess I'm missing something here, please help.

Chuck

They produce a Naked set after eliminations. Where a Naked set goes onto remove more candidates will only occur in another different unit. For example a Pair might be uncovered in a Box but then the same new Naked Pair can go on to remove candidates in a column (outside the box). This happens a lot in Jigsaw Sudoku

## Tuesday 10-Nov-2015

## ... by: Dave G, Uk

Beat regards

David

## Wednesday 4-Nov-2015

## ... by: fbax, Canada

Killer Hard Combinations

KILLER COMBO (Hard) on cage starting on A2: cage of size 3 with clue of 13+ can only be 1/2/3/4/5/6/7/8/9

- we can remove 9 from B2

I can see the virtue of expanding the result explanation to explain this, tricky to generalise

## Tuesday 3-Nov-2015

## ... by: John, Wisconsin, USA

I really like your website and book--well done!

My brother and I do Sudoku remotely, and often compare our solutions to yours. Recently my brother got the edge on me when he discovered W-wing, which I'm pretty fuzzy on. I didn't see it anywhere on your site--am I missing something?

Thanks!

John

Did this W-Wing appear in the solver?

## Thursday 22-Oct-2015

## ... by: Brian, US

## Saturday 29-Aug-2015

## ... by: Bob Lester, USA