Solver App for Android and iPhone Strategies for Number Puzzles of all kinds
 
Print Version
 
Solvers
Puzzles
Latest Apps
Str8ts
Other
The Logic of Sudoku
Order Str8ts Book 1
Order Now!
Order Str8ts Book 2
Order Now!
  The Relative Incidence of Sudoku Strategies
This article has been updated March 2012 and replaces the statistics done in Dec 2009

A recent question from a reader prompted me to run off some statistics which I think are interesting and worth exploring.

Comment:There is something I am curious about that I really hope you can answer, although it's quite subjective and I suppose the answer will be a ballpark figure but I was hoping a Sudoku expert such as yourself could take your best educated guess at.

If I know all of your basic, tough, and diabolical strategies, but don't go as far as any of your evil strategies that you list, what percentage of Sudoku puzzles (in your opinion) do you think I could solve-80% of all puzzles that I would try? 85%? 90%? 95%? 99%?

What would you guess if you had to estimate? I know it's hard since there are literally trillions of puzzles, but easy, medium, tough, and many diabolical puzzles I can already solve with these current strategies, excluding your evil ones. Do you think the percentage of puzzles where you HAVE to use one or more evil strategies in order to solve the puzzle is a small percentage, perhaps 1%? 2%? 5%? 10%?

Just curious what your opinion is.

There is a lot to grading and scoring a Sudoku puzzle. I've put some thoughts about this into
http://www.scanraid.com/Sudoku_Creation_and_Grading.pdf. There is not a one to one correspondence between the published grade (or the grade on my solver) and the list of strategies and many factors contribute to the grade. My strategy list is partially subjective in that I choose to label certain strategies as 'tough' for ease of explanation and to show what I consider the best order in which to attack a puzzle. It is an attempt at a 'minimum path'.

It should also be noted that because I don't use strategy X to solve a puzzle in the solver, it does not follow that strategy X could not be used. There are often many ways to solve the same puzzle.

However it is still an interesting question what proportion of all puzzles require at least one strategy in each grade group. I've run a count on a 200,000 puzzles I created searching for unsolvables (March 2012). These were produced randomly and I did not know the grade until after I created them. The sample is therefore fair. The results are:

  • 72.5% required only trivial strategies, that is only naked and hidden singles.
  • 10.0% required the use of Naked Pairs and Hidden Pairs.
  • 9.6% required the above and diabolical strategies
  • 3.6% required the above and extreme strategies
  • 0.00048% (15 out of 311,000) could not be solved using my list of logical strategies, although 49 did solve using the 'trail and error' Bowman's Bingo.

This confirms my view that the vast majority of puzzles are uninteresting. In order to produce a 100 puzzles of all grades I need to over produce many puzzles since the incidence of higher grade puzzles is low. Note that the 10% of 'moderate' only puzzles does not mean they are rare. Any hard puzzle will require many more incidences of moderate strategies to complete in addition to the hard ones.

It follows that I can produce a list of all the Sudoku strategies and a count of their incidence in solving the stock.
STRATEGYCount%
Human Strategy 200000100.0%
Naked Singles 18038790.2%
Hidden Singles 9918549.6%
Naked Pairs 4517522.6%
Naked Triples 2135910.7%
Hidden Pairs 79424.0%
Hidden Triples 17370.9%
Naked Quads 2490.1%
Hidden Quads 00.0%
Tough Strategies
Intersection Removal 3469217.3%
X-Wing95764.8%
Simple Colouring2003010.0%
Y-Wings160438.0%
Sword-Fish13130.7%
X-Cycles110505.5%
XY-Chain 167248.4%
Diabolical Strategies
3D Medusa59503.0%
Jelly-Fish240.0%
Avoidable Rectangle220.0%
Unique Rectangles17480.9%
Hidden Unique Rectangles 41852.1%
XYZ Wing 15390.8%
Aligned Pair Exclusion23131.2%
Evil Strategies
Grouped X-Cycles18830.9%
Empty Rectangles1440.1%
Finned X-Wing11500.6%
Finned Sword-Fish8260.4%
Franken Sword-Fish 60.0030%
Altern. Inference Chains67773.4%
Strong Links 63013.2%
Weak Links 145147.3%
Off-chain 19511.0%
Digit Forcing Chains 9610.5%
Cell Forcing Chains9120.5%
Unit Forcing Chains2780.1390%
Sue-de-Coq 00.0%
Almost Locked Sets120.0060%
Death Blossom40.0020%
Pattern Overlay Method280.0140%
Quad Forcing Chains 520.0260%
Bowman Bingo 490.0245%

So if you were wondering, as I was, how useful certain strategies are, this data is interesting. The only other caveat I'd add is that some strategies are sub-sets of others, or can be expressed in terms of another strategy. For example, Remote Pairs are a special case of XY-Chains which is a sub-set of AICs. It is useful for the solver to split these out but when making and grading I don't do so. So there is some overlap.

The answer to the reader's original question - the incidence of 'evil' strategies, is I'd say, about 5%.

Andrew Stuart





 
Comments

Your Name/Handle

Email Address - required for confirmation (it will not be displayed here)

Your comment or question

Please enter the
letters you see:
arrow
Enter these letters Remember me


Please keep your comments relevant to this article.
Email addresses are never displayed, but they are required to confirm your comments. When you enter your name and email address, you'll be sent a link to
confirm your comment. Line breaks and paragraphs are automatically converted — no need to use <p> or <br> tags.


Comments - Talk

Monday 24-Dec-2012

... by: Fred

Very, very interesting ! You have all my compliments and my deepest admiration. Unfortunately I am not of english mother tongue, so for me difficulties always grow harder and harder.
Do you think I can find anything on this subject printed in ITALIAN ? eventually, where ?

Thanks for the attention,

Emmanuele Frediani (from Italy)


P. S. : Just a curiosity : How old are you ?


Friday 29-Jun-2012

... by: slowofmind

Smashblast, could you please say what year is the Scientific American article "The Science behind Sudoku".


Andrew Stuart writes:

2006 I think

Tuesday 1-May-2012

... by: keith

Hmmm. It would be interesting, perhaps, to mix up the order of your solving strategies, and try a series of them, looking for 1) how they change the incidence of use, and 2) whether/how some orders reduce the length of puzzle solving. In the second instance, one can imagine that puzzles "requiring" a diabolical strategy, for example, might benefit from it being applied earlier... or not.

There are a great many orderings you could try, I'm not sure which would be most interesting/powerful, if indeed any succeed over the default...


Andrew Stuart writes:

This I have pondered for a long time and I do try out some reorderings because there is a lot of overlap between certain strategies. Sometimes I can eliminate a strategy altogether by parking it at the end of the list but some are subsets which are easier to identify so I have to put them before the more generic strategy. If I had some time, like some weeks, I'd write a program to test all the combinations and see if there was an optimal arrangement - ie one that reduced the score. The problem with that approach is it might produce a low score for many puzzles but that score depends entirely on following a particular route - which may be esoteric - and therefore the low score is misleading.

The ordering I have settled on is subjective in a certain sense because I've decided on it based on my hunch that strategy A is more complex that strategy B. The early strategies I think are no brainers but diabolical and above are more difficult to order.

I would like to allow the user to order the strategies but I don't know how to do this without greatly complicating the interface - another trade off

Wednesday 8-Feb-2012

... by: Smashblast

There was an eneeellcxt article on the "science behind Sudoku" in July issue of Scientific American, with more strategies, worth reading.

Monday 20-Sep-2010

... by: joseph brophy

thank you so much for your contributions to sudoku. i am preparing to teach a class to seniors, and this is the type of information that sheds light on the game. jtb

Post a Comment using Facebook...


Article created on 31-December-2009. Views: 8136
This page was last modified on 12-March-2012, at 14:14.
All text is copyright and for personal use only but may be reproduced with the permission of the author.
Copyright Andrew Stuart @ Syndicated Puzzles Inc, 2012