The Math Behind Sudoku 5 The 4x4 case

background image

The Math Behind Sudoku

4. The 4x4 case

Let us look at the Sudoku of rank 2, or the 4×4 Sudoku grid, in order to get a

better understanding of the ideas we have discussed so far.

In order to count the number of 4×4 Sudoku grids, we start - as in the 9×9 case

- by filling in the top left block in the standard way. This accounts for a factor of

4! in the number of distinct grids, since there are 4! ways to relabel four digits.

After doing this, 1 and 2 occur in the first two entries of the first row, leaving 3

and 4 to go in the second two entries. For each of the 4! labelings, there are two
ways to insert 3 and 4 into two cells, and this contributes to the count of distinct

grids. However, for a count of essentially different grids, the order in which we

enter 3 and 4 here does not matter, since swapping the third and fourth columns

preserves the validity of the grid. So we may assume that 3 goes in the third cell

and 4 in the fourth cell of the first row.

Since 1 and 3 occur in the first column of the grid already, 2 and 4 must be

placed in the third and fourth cells of that column. Since there are two ways to

do this, our count of distinct grids is now up to 4!×2×2. For counting essentially

different grids, we note that swapping the third and fourth rows is a symmetry of

the grid, so we may assume that 2 goes in the third cell and 4 in the fourth cell

of the first column. Since there is a 2 in the third row and a 3 in the third column,

the only possibilities for the cell in the (3,3) position are 1 and 4.


Document Outline


Wyszukiwarka

Podobne podstrony:
The Math Behind Sudoku 2 Solving Strategy
The Math Behind Sudoku 1 Introduction to sudoku
The Math Behind Sudoku 4 Solution Symmetries
The Math Behind Sudoku 7 References
The Math Behind Sudoku 3 Counting Solutions
The Math Behind Sudoku 6 Some More Interesting Facts
Arthur Conan Doyle The Debatable Case of Mrs Emsley
Robert Stevenson The Strange Case of Dr Jekyll and Mr Hyde
tools of the mind a case study of implementing the Vygotskian
Specificity of the work in the profession of the vanity case
Patricia Cornwell Portrait Of A Killer Jack The Ripper Case Closed(v1)
Elites, Language, and the Politics of Identity The Norwegian Case in the Comparative Perspective (G
[2007] Hoffmann, T Aquinas And Intellectual Determinism; The Test Case Of Angelic Sin
Kady Cross [The Steampunk Chronicles 00] The Strange Case of Finley Jayne
15 Część Czternasta The Black Case
The Doctor s Case
The Strange Case of the Liquid of Death
The NOUN, Case & Article
Kwiek, Marek Universities, Regional Development and Economic Competitiveness The Polish Case (2012)

więcej podobnych podstron