by gfroyle » Wed Sep 28, 2005 6:19 am
A completed Sudoku grid is a 9-colouring of the 81-vertex Sudoko graph.
(That is, the vertices are the 81 cells, and there are edges between two vertices if and only if they are in the same row, column or block.)
A Sudoku puzzle specifies a partial colouring of the graph with the property that there is a unique completion of that partial colouring. The challenge is to deduce the colours of the remaining vertices from those given.
So, would it be fun (to anyone!) if we took an arbitrary graph and then asked you to complete a partial colouring in a unique way? And if not, then what is it about Sudoku that makes it more fun than other graphs.
I haven't thought this through fully, but there are a couple of things that seem to help make Sudoku useful in this way:
- firstly, the graph, and the colouring, are easy to visualize because it is defined geometrically (via the rows/cols/boxes) and humans are extremely good at abstraction from geometric information.
- secondly, I think the presence of lots of 9-cliques (each row, col, box) is important to make it fun. This is because each 9-clique MUST contain one of each colour. This gives two types of restriction - negative ones, where we can say that a cell CANNOT contain certain numbers, and positive ones where we deduce that a cell MUST contain (one of) certain numbers. The tension between this positive and negative information is what I think makes it more interesting than an arbitrary graph colouring problem (where we usually only have the negative information), and in fact is what makes the whole task a "logic" challenge rather than just an enumeration.
It might be fun to whip up some other graphs, and then to actually present them as puzzles and see if any of them are interesting or not..
Cheers
Gordon