The logic of sudoku
A sudoku has one rule and no arithmetic. See which digits can go in a cell, find a digit with only one home and count how many solutions a puzzle has.
Key takeaways
- The rule of sudoku is that every row, column and box holds each digit once. The digits are only symbols.
- The candidates of a cell are the digits not yet in its row, column or box. With one candidate left, that digit is the answer.
- A digit that has only one cell it can go in, in a row, column or box, goes there. That is a hidden single.
- A good puzzle has exactly one solution. Taking clues away can make it have many.
- There are more than 6 sextillion valid 9 by 9 grids, and 288 of the 4 by 4 kind.
Sources
Some of these sites could not be opened while this page was written, so some facts were checked through search results that quote them. The rule of every row, column and box holding each digit once, naked singles and hidden singles as the first techniques, the count of 6,670,903,752,021,072,936,960 grids by Felgenhauer and Jarvis, Howard Garns and Number Place in a Dell magazine in 1979, Maki Kaji bringing it to Japan in 1984 and The Times beginning to print it in November 2004 each appeared in at least two places. Sources differ on the month of the count and on some dates in the history, and the page gives the years most agree on. One source says a puzzle with a single solution needs at least 17 clues, without naming who proved it, and the page says so and does not name a person. The count of 288 grids of 4 by 4, the candidates, the singles, the solution counts and the 211 trillion years (the 9 by 9 count in seconds, divided by the seconds in a year) are computed on the page. The 9 by 9 puzzle was made for this page and checked to have one solution.
- Wikipedia: SudokuThe rule and the history.
- Wikipedia: mathematics of SudokuThe number of grids.
- Sudoku.com blog: how many sudokus are thereThe count of grids.
- Mu Alpha Theta: sudokuThe maths of the grids.
- Counting, symmetries and equivalence classes of Sudoku grids (arXiv)The count of Felgenhauer and Jarvis.
- Sudoku.com blog: the secret history of sudokuGarns, Kaji and The Times.
- Nippon.com: Kaji Maki, the father of sudokuKaji and the name.
- HoDoKu: singlesNaked and hidden singles.
- Sudoku Pulse: hidden singleHidden singles.
- Sudoku Bliss: naked singlesNaked singles.