Science Current Events | Science News | Brightsurf.com
 
Email a Friend Send to a friend
Printer Friendly Print Solving sudokus -- Coloring by numbers

Solving sudokus -- Coloring by numbers

June 11, 2007

Providence, RI -- Have you ever been trying to solve a Sudoku puzzle and been gripped by a sinking feeling that maybe you were stuck with a lemon" That maybe the puzzle you are struggling with actually has no solution at all" And, if you do find a solution, how can you be sure it's the only one" What if half an hour ago you had written 5 instead of 3---would you then have gone down a path to a completely different solution"

These questions and others are explored in the article "Sudoku Squares and Chromatic Polynomials", by Agnes M. Herzberg and M. Ram Murty, which appears in the June/July 2007 issue of the Notices of the AMS. The authors use tools from the branch of mathematics called graph theory to systematically analyze Sudoku puzzles. They also find that analyzing Sudokus leads to some unsolved problems in graph theory.




In this context, a "graph" is a collection of nodes connected by line segments (this object is also sometimes called a "network"). We can think of the 81 squares in a Sudoku puzzle as 81 nodes in a graph. We will also represent each of the numbers one through nine by a different color. In a Sudoku graph, two nodes are connected by a line segment if the two squares they represent are in the same row, column, or 3 by 3 subgrid. Since no row, column, or 3 by 3 subgrid can contain more than one instance of each number, the graph will have no connected nodes of the same color. (For example, suppose we represent 1 with red. Two red nodes connected with a line segment would mean a row, column, or 3 by 3 subgrid had two 1's in it, which is forbidden in Sudoku.)

In the language of graph theory, a colored graph with no connections between same-colored nodes is a called a "proper coloring." What Sudoku solvers do every day is try to extend a partially-colored graph (the original puzzle with open squares means the graph representing it has yet-to-be-colored nodes) to a proper coloring.

With this analogy between Sudoku puzzles and graphs in place, Herzberg and Murty are able to use tools from graph theory to prove theorems about Sudokus. For example, they prove that the number of ways of extending a partial coloring of a graph is given by a polynomial. If the value of this polynomial is zero for a given Sudoku puzzle, then the puzzle has no solution; if the value is 1, then the puzzle has only one solution; and so forth. They also prove that, in order for any Sudoku puzzle to have only one solution, at least 8 of the 9 numbers must appear as given entries in the puzzle; if only 7 numbers are given, then the puzzle has at least two solutions. And this brings up an unsolved mathematical question: "It would be extremely interesting to determine under what conditions a partial coloring can be extended to a unique [proper] coloring," Herzberg and Murty write.

Some Sudokus are harder than others, with the really difficult ones containing very few given entries. What is the minimum number of given entries needed to ensure that a puzzle has a unique solution" Herzberg and Murty give an example of a Sudoku puzzle with just 17 given entries that has only one solution. So the minimum number is at least 17. But could it be 16---or something even smaller" No one knows. One might think that a puzzle with many given entries is likelier to have a unique solution, but this is not necessarily the case. The article gives an example of a puzzle with 29 given entries that actually has two different solutions.

And if you have been wondering when your newspaper will run out of Sudoku puzzles, the authors argue that the number of distinct Sudoku puzzles is somewhere around 5.5 billion---enough to keep Sudoku afficianados busy for a long time to come.

American Mathematical Society



Related Sudoku Current Events and Sudoku News Articles
Game utilizes human intuition to help computers solve complex problems
A new computer game prototype combines work and play to help solve a fundamental problem underlying many computer hardware design tasks.

CSHL scientists harness logic of 'Sudoku' math puzzle to vastly enhance genome-sequencing capability
A math-based game that has taken the world by storm with its ability to delight and puzzle may now be poised to revolutionize the fast-changing world of genome sequencing and the field of medical genetics.

Can mental training games help prevent Alzheimer's?
Loss of thinking power is a fear shared by many aging baby boomers. That fear has resulted in a budding industry for brain training products - exercises such as Brain Age, Mindfit and My Brain Trainer - which in 2007 generated $80 million in the United States alone.

Color sudoku puzzle demonstrates new vision for computing
Researchers at the University of Warwick's Department of Computer Science have developed a colour based Sudoku Puzzle that will help Sudoku players solve traditional Sudoku puzzles but also helps demonstrate the potential benefits of a radical new vision for computing.

From biological imaging to Sudoku solutions
Cornell physicist Veit Elser has been engrossed recently in resolving a pivotal question in biological imaging. So he hasn't had much time for brainteasers and number games.
More Sudoku Current Events and Sudoku News Articles
Will Shortz Presents The Little Black Book of Sudoku: 400 Puzzles (Will Shortz Presents...)

Will Shortz Presents The Little Black Book of Sudoku: 400 Puzzles (Will Shortz Presents...)
by Will Shortz (Editor)

 It's smart. It's stylish. It's fun! And with its unique design, Will Shortz Presents The Little Black Book of Sudoku is bound to be the "must-have" collection for any puzzle fan. Edited by crossword great Will Shortz, this beautiful book offers 400 easy-to-hard puzzles in a convenient portable size, perfect for carrying in your purse, briefcase, or backpack. Features:
* 400 sudoku puzzles, arranged according to difficulty
* Sleek design with a covered spiral binding makes it easy to solve puzzles
* Durable hardcover protects the book as it travels with you wherever you go* The perfect gift for any holiday* Edited by Will Shortz.

Will Shortz Presents Ferocious Sudoku: 200 Hard Puzzles

Will Shortz Presents Ferocious Sudoku: 200 Hard Puzzles
by Will Shortz (Author)

Are you tough enough? Take on this collection of 200 devilishly difficult sudoku puzzles! Includes: -200 hard puzzles-Perfect portable size-Big grids for easy solving

Big Screen Sudoku

Big Screen Sudoku
by Radica Games

Challenge yourself with the ultimate puzzle - Sudoku. This electronic version features thousands of puzzles, doodle features, undo and hint buttons. There are three difficulty levels and a timer for challenging play. Choose from 6 x 6 and 9 x 9 playing boards. Requires two "AAA" batteries (included).

Sudoku: Medium to Hard

Sudoku: Medium to Hard
by Zachary Pitkow (Author)

Sudoku craze and pairs the addictive logic-based game with a spectacularly handy format. Filled with 200 grids of varying difficulty, our pocket-sized hardcover notepads are perfect for strategizing on the bus or train. Now that's what we call a smart calculation!

Absolutely Nasty Sudoku Level 4 (Mensa)

Absolutely Nasty Sudoku Level 4 (Mensa)
by Frank Longo (Author)

Top solvers can try their hand at the One-Sided Gordonian Rectangle; Extended Gordonian Rectangle; Gordonian Polygon; and Alternating Digits. (But they can take comfort in knowing that no more than one will occur in any single puzzle.)

Mensa Guide to Solving Sudoku: Hundreds of Puzzles Plus Techniques to Help You Crack Them All

Mensa Guide to Solving Sudoku: Hundreds of Puzzles Plus Techniques to Help You Crack Them All
by Peter Gordon (Author), Frank Longo (Author)

Here it comes: a revolution in sudoku solving! This is by far the most complete guide to cracking these addictive puzzles ever produced, with tricks even the experts won’t know. While most books might have a few pages of introduction before proceeding straight to the sudokus, this one covers it all: hidden pairs, naked pairs, X-wings, jellyfish, squirmbag, bivalue and bilocation graphs, turbot fish, grid coloring, and chains. Every single one is here, and much more too, including the exclusive Gordonian logic methods (Gordonian rectangles and Gordonian polygons) that will turn even the hardest puzzles into a breeze. Of course, there are hundreds of sudoku for practice. A very special addition is a reprint of the very first sudoku ever published in 1979, from Dell Pencil Puzzles and Word...

HT-ZS11 - ZOpid Electronic Sudoku with Touch Screen and Back Light

HT-ZS11 - ZOpid Electronic Sudoku with Touch Screen and Back Light
by ZOpid

** Touch panel function ** Large LCD screen with backlight, suitable for day or night use ** User selectable Easy, Medium or Hard modes ** Each mode can automatically generate thousands of puzzles ** Game automatically enters sleep mode if not used for 10 minutes ** Resume Function: Continue game where you left it the last time ** Submit button allows you to check your results ** 9 hints available for every game ** Reminder function for wrong answer ** Uses 2 "AA" batteries (not included) ** Display size 52 mm X 63 mm

New York Post Fiendish Sudoku: The Official Utterly Addictive Number-Placing Puzzle

New York Post Fiendish Sudoku: The Official Utterly Addictive Number-Placing Puzzle
by Wayne Gould (Author)

200 New Puzzles -- From Fiendish to Super Fiendish

Su Doku, "the crossword without words," comes with a warning: it is seriously addictive. You don't need to be a mathematical genius to solve these puzzles; it is simply a question of logic and a little patience.



Sudoku Easy to Hard Presented by Will Shortz, Volume 3: 100 Wordless Crossword Puzzles

Sudoku Easy to Hard Presented by Will Shortz, Volume 3: 100 Wordless Crossword Puzzles
by Will Shortz (Author)

THE HOTTEST CRAZE IN PUZZLES!

From puzzlemaster and New York Times crossword editor Will Shortz comes sudoku, the new “wordless crossword” puzzle that’s taking the world by storm! Once you start, you won’t want to stop. These addictive puzzles are easy to understand---just fill the grid with numbers according to the few simple rules---but incredibly fun and engaging to complete. You don’t need any mathematics knowledge: Just supply a pencil and an inquisitive mind.

This brand-new collection features original sudoku ranging from effortlessly easy to devilishly difficult, along with an introduction from Will Shortz that explains these fascinating puzzles and how to solve them. Plus, the last five bonus puzzles in the book are giants---more than 50 percent larger and...

Sudoku Variants

Sudoku Variants
by Conceptis Puzzles (Author)

Everyone knows sudoku is enjoyable—but these addictive puzzles come in endless variations too! They range from simple to very difficult, and can take almost no time to finish…or require many hours. This entertaining collection showcases a wide range of possibilities, offering solvers who have become accustomed to the standard rules and grids an exciting new challenge. Select from Mega Sudokus that provide a real workout; Diagonals or Odd and Even versions with extra constraints; Sum Sudokus that merge with kakuro; and Multisudoku with overlapping puzzles. There’s something for every level—12 x 12 puzzles, ones with irregularly shaped areas, even Mini Sudoku—and lots of fun for everyone.

© 2009 BrightSurf.com