The play of the Sudoku consists in supplementing a square grid divided into NR areas of NR boxes, partly filled with numbers, so that in each line, each column and each area the numbers of 1 with NR appear one and only once.
A analyzes mathematical of Sudoku makes it possible to discover the various properties and problems which hide behind this play and its alternatives.
The analysis of the grids was mainly focused on the enumeration of the possible solutions for various alternatives of the play. The study of the resolution concentrates on the initial values of the grid and the stages which lead to the complete grid. These techniques call upon several disciplines: analyzes combinative, algorithmic, theory of the groups as well as the programming since the computer makes it possible quickly to solve the grids.
There is a great number of alternatives of Sudoku, in general characterized by the size of the grid (the parameter NR ) and forms it areas. Sudoku traditional have a NR equal to 9 with areas of 3x3 boxes. Rectangular Sudoku has rectangular areas of a size L × C where L is the number of lines and C the number of columns. Such Sudoku, with a size of L ×1 (or 1× C ), becomes a Carré Latin since the area is a line or a single column.
More complex alternatives exist like those with cut out areas in an irregular way ( Nanpure ), with additional constraints ( Samunamupure or Killer Sudoku , respect of unicity on the diagonals with the Kokonotsu , forced on the order of the elements with the Greater-Than ) or of the assemblies of several grids ( Samurai , Sudoku in 3D). In certain alternatives, the figures are replaced by letters. This substitution of the characters used does not change however anything with the intrinsic properties puzzle if the rules remain the same ones.
The mathematical analysis of Sudoku followed the popularity of the play. The analyzes concerning algorithm complexity and the Np-complete character of the play were documented towards the end of the year 2002, the results of enumeration made their appearance about the middle of the year 2005. The contributions of the many researchers and amateurs made it possible to update the properties of the play. The appearance of the alternatives of Sudoku all the more extends the mathematical elements to consider and explore.
Contrasting with the two principal mathematical approaches quoted at the beginning, an approach based on mathematical logic and attacking the problem of the resolution of the puzzles was proposed recently in the book of Denis Berthier, " The Hidden Logic off Sudoku" (The hidden logic of Sudoku). That made it possible to discover and formalize all generalized symmetries of the play and to discover new rules of resolution based above, like the hidden chains xy.
The resolution of a sudoku can be formalized by the problem of the Coloration of graph. The goal, in the traditional version of the play, is to apply 9 colors to a given graph, starting from a partial coloring (initial configuration of the grid). This graph has 81 tops, one by cell. Each box of the sudoku can be labelled with an ordered pair (X, there) , where X and is there entireties ranging between 1 and 9. Two distinct tops labelled by (X, there) and (X', there') are connected by an edge if and only if:
A grid solution is also a Carré Latin. The relation between the two theories from now on is completely known, since D. Berthier showed, in " The Hidden Logic off Sudoku" , that a first order logical formula which does not mention the blocks (or areas) is valid for Sudoku if and only if it is valid for the Latin squares.
There are notably less grids solutions than Latin squares, because Sudoku forces additional constraints (See Ci above point 4: many possible complete grids)
The maximum number of revealed without a single solution not appearing immediately, it does not matter the alternative, is the size of the grid minus 4: if two pairs of candidates are not registered and that the blank cells occupy the corners of a rectangle, and that exactly two cells are in an area, then there exist two ways of registering the candidates. The opposite of this problem, namely the minimum number of revealed to guarantee a single solution, is a problem unsolved, although enthusiastic Japanese discovered a grid 9×9 without symmetry which contains only 17 revealed (more, to see. A result published in 2007, reveals that so that a sudoku has a single solution, it is necessary that 8 of the 9 digits is revealed. and), whereas 18 is the minimum number of revealed for the symmetrical grids 9×9.
The number of possible complete grids is also lower than the numbers of square Latin on side 9.
Lastly, the number of possible complete grids is lower than which corresponds to the number of ways of building the areas without taking account of the constraints on the lines and the columns.
In 2005, Bertram Felgenhauer and Frazer Jarvis proved that this number of grids was of:
6.670.903 752.021.072 936.960≈6,67.1021 (for more details, to see and).
This number is equal to:
9! ×722×27×27 704.267.971
The last factor is a Prime number. This result was proven thanks to a exhaustive Recherche. Frazer Jarvis then considerably simplified the proof thanks to a detailed analysis. The demonstration was validated in an independent way by ED Russell. Jarvis and Russell showed thereafter that by taking account of symmetries, there were 5.472.730 538 solutions (for more details, to see and).
On the other hand, on this date, no result exists on the number of complete grids in a super sudoku (grid 16 × 16). So now, one is interested in the numbers of problems proposables, this number is definitely more important because there exist several ways of revealing the figures of the same grid.
The problem of knowing how much boxes filled are necessary as a preliminary to make the resolution single is, to date, without answer. The best result, obtained by Japanese, is of 17 unconstrained boxes of symmetry. Nothing says that it is not possible with less numbers. Gordon Royle indicates that two resolutions are regarded as different if they cannot be transformed one towards the other (or the reverse) thanks to a combination of the following operations:
permutations of the 9 numbers
One notices the analogy with the matric operations in Linear algebra.
A band is a succession of adjacent blocks on the horizontal axis. A pile is a succession of adjacent blocks on the vertical axis. In Sudoku of 9x9 boxes, there are thus 3 bands and 3 piles.
Correctly conceived Sudoku has one and only a solution: the final grid is single, but the resolution starting from the partial grid can however take different ways.
Following cutting can be adopted to classify the alternatives coarsely:
Additional constraints make it possible to better target the type of play.
Square Sudoku of NR X NR areas has several properties respected for all its subelements, in addition to the traditional rule of the absence of doubled blooms. Indeed, each line and each column have an intersection with NR areas and division NR boxes with each one of them. The number of bands and piles is also equal to NR . It should be noted that rectangular Sudoku does not have these properties.
Sudoku with areas of 3x3 hiding place another property which is clean for him: NR is the number of sub-units considered in the play, namely three: the line, the column and the area.
That is to say:
The number of solutions depends on the size on the grid, the observed rules and the precise definition of a distinct solution. For Sudoku with areas of 3x3, conventions for the posting of the contents of the grid are the following ones: the bands are labelisées top to the bottom, the piles of the left towards the line. The areas are thus numbered left towards the line and the top downwards. This convention also applies for the rectangular grids.
Other terms are useful in the case of Sudoku with areas of 3x3:
For example, the notation h56 corresponds to the triplet of area 5, line 6. In English, one uses the notation R for row and C for column .
One also speaks about mini-line or of mini-column to indicate the portion presents in an area of a line or a column of the grid.
a grid has is different from a grid B, if the value of the box in has (I, J) is different from B (I, J), for any I, J (values limit by the dimension of the grid).
If a grid has is obtained by symmetry of the grid B then they are regarded as different. Rotations are also counted as new solutions.
These operations define a relation of symmetry between two equivalent grids. By excluding the change from labels, and by considering the 81 values present in the grid, these operations train a sub-group of the symmetrical group S81 with an order 3! 8×2 = 3359232.
where B L, C is the number of manners of supplementing Sudoku with L areas (of a size of L X C ) horizontally adjacent. The algorithm of Pettersen, implemented by Silver is currently the known fastest technique to evaluate in an exact way the values B L, C.
The account of the bands for the problems of which " the full number of grids of Sudoku is inconnu" is given below. As in the remainder of this article, dimensions correspond to those of the areas.
The expression for the case 4×C is:
with:
All Sudokus are valid (unicity of the numbers in the lines, columns and areas) after the application of the operations which preserve the properties of the group of Sudoku. Certains Sudoku is special in the direction where certain operations have the same effect as the renaming of the figures:
Gordon Royle compiled a list of grids with 17 values, which are single. Among these 39422 grids, none of them is isomorphic with another grid or contains a solution with 16 initial values.
An alternative suggested by Miyuki Misawa replaces the sums by relations: the indications are symbols = , < , > , showing the relative values for certain adjacent areas. An example with only 8 relations is given, but it is not known if this number is the lower limit.
In order to reduce the space of research, one leaves the principle that the renaming (for example to change the “1” into “2” and vice versa) of the boxes produces an equivalent solution. A grid authorizes 9! = 362880 renamings of this type: a figure chosen among the 9 possible figures is allotted to the first type of box, a figure among the 8 remainders is allotted to the second type of box, a figure among the 7 remainders is allotted to the third type of box, etc
| Random links: | Debt | Blazon of Vaucluse | Saint-Elphège | Abdul Al-Hazred | Faye-l' Abbess |