Sudoku graph

In the mathematics of Sudoku, the Sudoku graph is an undirected graph whose vertices represent the cells of a (blank) Sudoku puzzle and whose edges represent pairs of cells that belong to the same row, column, or block of the puzzle. The problem of solving a Sudoku puzzle can be represented as precoloring extension on this graph. It is an integral Cayley graph.
Basic properties and examples.
On a Sudoku board of size formula_1, the Sudoku graph has formula_2 vertices, each with exactly formula_3 neighbors. Therefore, it is a regular graph. The total number of edges is formula_4.
For instance, the graph shown in the figure above, for a formula_5 board, has 16 vertices and 56 edges, and is 7-regular.
For the most common form of Sudoku, on a formula_6 board, the Sudoku graph is a 20-regular graph with 81 vertices and 810 edges.
The second figure shows how to count the neighbors of each cell in a formula_6 board.
Puzzle solutions and graph coloring.
Each row, column, or block of the Sudoku puzzle forms a clique in the Sudoku graph, whose size equals the number of symbols used to solve the puzzle. A graph coloring of the Sudoku graph using this number of colors (the minimum possible number of colors for this graph) can be interpreted as a solution to the puzzle. The usual form of a Sudoku puzzle, in which some cells are filled in with symbols and the rest must be filled in by the person solving the puzzle, corresponds to the precoloring extension problem on this graph.
Algebraic properties.
For any formula_8, the Sudoku graph of an formula_1 Sudoku board is an integral graph, meaning that the spectrum of its adjacency matrix consists only of integers. More precisely, its spectrum consists of the eigenvalues
It can be represented as a Cayley graph of the abelian group formula_22.
Related graphs.
The Sudoku graph contains as a subgraph the rook's graph, which is defined in the same way using only the rows and columns (but not the blocks) of the Sudoku board.
The 20-regular 81-vertex Sudoku graph should be distinguished from a different 20-regular graph on 81 vertices, the Brouwer–Haemers graph, which has smaller cliques (of size 3) and requires fewer colors (7 instead of 9).