Is Sudoku Addicting and Mathematically Complex?

  • Context: Undergrad 
  • Thread starter Thread starter quetzalcoatl9
  • Start date Start date
  • Tags Tags
    Sudoku
Click For Summary
SUMMARY

This discussion centers on the mathematical complexity and addictive nature of Sudoku puzzles. Participants explore the probability of degeneracy in Sudoku grids, emphasizing the importance of initial numbers for solving efficiency. A simple algorithm is mentioned that aids in solving puzzles quickly, particularly when sufficient numbers are provided. The conversation also touches on conditions that lead to degenerate solutions, highlighting the need for further exploration of these scenarios.

PREREQUISITES
  • Understanding of Sudoku rules and grid structure
  • Familiarity with basic probability concepts
  • Knowledge of algorithmic problem-solving techniques
  • Experience with logical deduction methods
NEXT STEPS
  • Research Sudoku-solving algorithms, focusing on backtracking techniques
  • Explore the concept of degeneracy in combinatorial puzzles
  • Study probability functions related to number distribution in Sudoku
  • Investigate variations of Sudoku with different initial number configurations
USEFUL FOR

Mathematicians, puzzle enthusiasts, and anyone interested in the logical and algorithmic aspects of Sudoku solving.

quetzalcoatl9
Messages
535
Reaction score
1
http://en.wikipedia.org/wiki/Sudoku

I have found myself addicted to working on them.

has anyone else here found these things interesting? I'm currently trying to work out the probability of degeneracy when given a particular square, it has proven challenging...
 
Physics news on Phys.org
I do these things every day, but the ones I do seem a little easier. The ones I get give more initial numbers, and it normally takes me 3-4 minutes to do them. The one you've shown would take a little longer, but there's a pretty simple algorithm that makes it easy, and if you do them every day, it's quite quick. With the ones I do, there are normally enough numbers that you can look at say the middle 3x3 box, realize what numbers need to go in its empty squares, and find one of the numbers which you can immediately place. For example, if you look at the top-middle square in the bottom-right 3x3 box, and imagine a 2 were there, then you could immediately place a 2 in the bottom-left square of the grid. As you do this, you get more numbers obviously, and can normally find other boxes where you can do this, and fill up the whole grid in this way.

If you don't have enough numbers for this (although with the one you posted, you can place a 4 in the bottom-middle square of the top-left box, and then using that 4, place a 4 in the left-middle square of the top-middle box), then you can look at any given square, and by process of elimination list what numbers can go there. If the grid is not "degenerate" then this will necessarily solve it. If you're trying to see which grids are degenerate, you may want to consider the conditions under which this algorithm fails.
 
well, i know some conditions for which you are guaranteed a degenerate solution. one would be having any two rows or columns within a 3 row/column "block" be empty (by "block" here, i mean row1,2 and 3, for example), since rows and columns within a "block" can be swapped and still have a square. "blocks" themselves can also be swapped.

however, i cannot yet prove that there are no additional degenerate positions. consider an empty 3x3...is there a degenerate answer? it is hard to say, and may involve a probability function based upon the distribution of the given squares.

and btw, i had thought that the game gives you only 30 numbers, i was not aware of variations where you have more numbers than this.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 27 ·
Replies
27
Views
4K
Replies
18
Views
11K
Replies
41
Views
11K