Discovery could lead to more difficult Sudoku puzzles
February 13, 2010 by Lisa Zyga
A standard 9x9 Sudoku matrix. Image credit: Héctor Rodríguez.
(PhysOrg.com) -- A new analysis of number randomness in Sudoku matrices could lead to the development of more difficult and multi-dimensional Sudoku puzzles. In a recent study, mathematicians have found that the way that numbers are arranged in Sudoku puzzles is even more random than the number arrangements in randomly-generated matrices. The counter-intuitive discovery may enable researchers to develop algorithms that generate Sudoku matrices with fewer clues, making them more difficult to solve.
Mathematicians Paul Newton and Stephen DeSalvo of the University of Southern California in Los Angeles have published the results of their study in a recent issue of the Proceedings of the Royal Society A.
"I think it will help develop multi-dimensional Sudoku puzzles, and answer questions about how to give the initial [clues] in order to create a hard, but still solvable Sudoku puzzle," Newton said in an article at ABC Science.
Sudoku is a number puzzle consisting of a 9x9 grid, whose 81 boxes are filled in with the numbers 1 through 9 in a way that meets certain criteria. Each number can only appear once per row and once per column, as well as only once in each of the nine 3x3 sub-grids that make up the matrix.
In 2006, researchers (Felgenhauer and Jarvis) found that there are about 6.67 x 1021 different Sudoku matrices that satisfy these three criteria. In contrast, the total number of different 9x9 randomly generated matrices is much greater: 981. The ratio of these two numbers, or the probability of randomly generating a Sudoku matrix by randomly selecting each number in each box independently, is very small: about 3 x 10-56. This small probability results from the constraints put on Sudoku matrices.
In their study, Newton and DeSalvo wanted to find out how exactly random a Sudoku matrix is, given these constraints. To answer this question, they generated a representative sample of about 10,000 matrices and compared them to randomly generated matrices. They were surprised to find that Sudoku matrices are actually more random than randomly-generated matrices. This result is counterintuitive since you would expect that, the more constraints on a matrix, the less random it will be.
Instead, the rules of Sudoku seem to “weed out” matrices with patterns. For example, as Newton explained, a randomly generated matrix could potentially consist of all one number, alternating numbers, or some other pattern not allowed in Sudoku. The imposed high level of number distribution in Sudoku gives it a higher level of entropy, making it more random than random matrices.
Newton and DeSalvo predict that this greater understanding of Sudoku could lead to better Sudoku-generating algorithms that create more difficult puzzles. Currently, Sudoku puzzles require at least 17 numbers to be given in their correct boxes in order for the puzzle solver to find a unique solution. The new study could decrease that number, making it more difficult to solve the puzzles. Future algorithms might also develop more complex 3D Sudoku cubes.
"I think it will give people a lot of insight into how to produce better algorithms for constructing Sudoku matrices and it will enable ultimately the very fast learning algorithms that solve Sudoku matrices," Newton said.
Australian mathematician Marcel Jackson of Latrobe University in Melbourne, who was not affiliated with the study, added that understanding Sudoku matrices better might also be useful in coding information to minimize the effect of errors in transmission.
More information:
-- Paul K. Newton and Stephen A. DeSalvo. “The Shannon entropy of Sudoku matrices.” Proceedings of the Royal Society A. doi: 10.1098/rspa.2009.0522.
-- Via: ABC Science
© 2010 PhysOrg.com
-
From lemons to lemonade: Reaction uses carbon dioxide to make carbon-based semiconductor,
33 comments
-
Thioridazine kills cancer stem cells in human while avoiding toxic side-effects of conventional cancer treatments,
3 comments
-
SpaceX private rocket blasts off for space station (Update),
42 comments
-
Landmark calculation clears the way to answering how matter is formed,
55 comments
-
Research team claims to have found evidence Lake Cheko is impact crater for Tunguska Event,
18 comments
Physicist's algorithm simplifies biological imaging -- and also solves Sudoku puzzles
-
Why is the range of argument z...
6 hours ago
-
general form of the quadratic equation
6 hours ago
-
Justifying Proof by Contradiction
17 hours ago
-
Combining equations help
18 hours ago
-
About the definition of "discrete random variable"
20 hours ago
-
Limits
May 26, 2012
- More from Physics Forums - General Math
More news stories
Change in developmental timing was crucial in the evolutionary shift from dinosaurs to birds: study
At first glance, it's hard to see how a common house sparrow and a Tyrannosaurus Rex might have anything in common. After all, one is a bird that weighs less than an ounce, and the other is a dinosaur that ...
Other Sciences / Archaeology & Fossils
14 hours ago |
5 / 5 (9) |
0
|
Social welfare cuts ultimately come with heavy price, researchers say
(Phys.org) -- Slashing government funding for Medicaid, food stamps and other programs that serve the poor while politically popular with some lawmakers and many conservatives may do more harm ...
Other Sciences / Social Sciences
May 24, 2012 |
4.2 / 5 (24) |
157
Ancient Bethlehem seal unearthed in Jerusalem
Israeli archaeologists have discovered a 2,700-year-old seal that bears the inscription "Bethlehem," the Israel Antiquities Authority announced Wednesday, in what experts believe to be the oldest artifact ...
Other Sciences / Archaeology & Fossils
May 23, 2012 |
3.3 / 5 (15) |
24
Dollars and sense: Why are some people morally against tax?
As the U.S. presidential election campaigns heat up, the economic debate is dominated by bailouts, austerity and, inevitably, taxation. Now a new study published in Symbolic Interaction asks why tax is such an important issue ...
Other Sciences / Social Sciences
May 23, 2012 |
2.3 / 5 (3) |
20
Oldest Jewish archaeological evidence on the Iberian Peninsula
German archaeologists of the Friedrich Schiller University Jena found one of the oldest archaeological evidence so far of Jewish Culture on the Iberian Peninsula at an excavation site in the south of Portugal, ...
Other Sciences / Archaeology & Fossils
May 25, 2012 |
4.2 / 5 (6) |
12
Stunning image of smallest possible five-ringed structure
Scientists have created and imaged the smallest possible five-ringed structure about 100,000 times thinner than a human hair and you'll probably recognise its shape.
'Unzipped' carbon nanotubes could help energize fuel cells, batteries
Multi-walled carbon nanotubes riddled with defects and impurities on the outside could replace some of the expensive platinum catalysts used in fuel cells and metal-air batteries, according to scientists at ...
Yale study concludes public apathy over climate change unrelated to science literacy
Are members of the public divided about climate change because they don't understand the science behind it? If Americans knew more basic science and were more proficient in technical reasoning, would public consensus match ...
Computer model used to pinpoint prime materials for efficient carbon capture
When power plants begin capturing their carbon emissions to reduce greenhouse gases and to most in the electric power industry, it's a question of when, not if it will be an expensive undertaking.
Land and sea species differ in climate change response: study
(Phys.org) -- Marine and terrestrial species will likely differ in their responses to climate warming, new research by Simon Fraser University and Australia’s University of Tasmania has found.
T cells 'hunt' parasites like animal predators seek prey, study shows
By pairing an intimate knowledge of immune-system function with a deep understanding of statistical physics, a cross-disciplinary team at the University of Pennsylvania has arrived at a surprising finding: T cells use a movement ...
Feb 12, 2010
Rank: 2.1 / 5 (7)
It cannot be more random than "random", because in a "random" matrix there is NO pattern, there might appear to be a pattern, but in reality even that is an illusion.
In Sudoku, there is ALWAYS a pattern, and by rule/definition, there must be a pattern.
In a "random" matrix, all 1s is NOT a "pattern"...it is just all 1s, period...
Feb 12, 2010
Rank: 1.3 / 5 (4)
Numbers in Sudoku matrices tend to be very evemly distributed (this is a direct result from the way the rules are formulated). So a sudoku matrix is closer to the mean (on average) than a purely random matrix.
Feb 12, 2010
Rank: 2 / 5 (4)
Feb 12, 2010
Rank: 4.3 / 5 (6)
"The imposed high level of number distribution in Sudoku gives it a higher level of entropy..." should give you an idea of what they're trying to tell us.
What they're saying is that 10,000 randomly generated sudoku puzzles have, on average, fewer repeating patterns, and therefor a higher degree of entropy than would 10,000 random 9x9 grids of digits. A grid of 81 1s, for example, might possibly be RANDOMLY GENERATED, but is much less RANDOM than a sudoku puzzle which in turn is less random than a grid of 81 unique symbols given in no particular order.
Feb 12, 2010
Rank: 4.5 / 5 (2)
Feb 13, 2010
Rank: 3 / 5 (4)
Feb 13, 2010
Rank: 5 / 5 (5)
A purely random matrix might not (and in all probability will not) have such an even distribution of numbers.
So a sudoku puzzle will always have the maximal possible entropyn whereas a randomly generated matrix will likel have a lower entropy.
Feb 13, 2010
Rank: 3 / 5 (2)
Feb 13, 2010
Rank: 5 / 5 (1)
Feb 14, 2010
Rank: 5 / 5 (1)
Feb 15, 2010
Rank: not rated yet