Sudoku

Not to be confused with Sodoku or Sudeki.
A typical Sudoku puzzle grid, with nine rows and nine columns that intersect at square spaces. Some of the spaces are pre-filled with one number each; others are blank spaces for a solver to fill with a number.
A typical Sudoku puzzle
The previous puzzle, solved with additional numbers that each fill a blank space.
The same puzzle with solution numbers marked in red

Sudoku (数独 sūdoku, Digit-single) i/sˈdk/, /-ˈdɒ-/, /sə-/; originally called Number Place,[1] is a logic-based,[2][3] combinatorial[4] number-placement puzzle. The objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3 sub-grids that compose the grid (also called "boxes", "blocks", "regions", or "sub-squares") contains all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which for a well-posed puzzle has a unique solution.

Completed puzzles are always a type of Latin square with an additional constraint on the contents of individual regions. For example, the same single integer may not appear twice in the same row, column or in any of the nine 3×3 subregions of the 9x9 playing board.

The puzzle was popularized in 1986 by the Japanese puzzle company Nikoli, under the name Sudoku, meaning single number.[5] It became an international hit in 2005.[6]

History

From La France newspaper, July 6, 1895. The puzzle instructions read, "Use the numbers 1 to 9 each nine times to complete the grid in such a way so that the horizontal, vertical, and two main diagonal lines all add up to the same total."

Number puzzles appeared in newspapers in the late 19th century, when French puzzle setters began experimenting with removing numbers from magic squares. Le Siècle, a Paris daily, published a partially completed 9×9 magic square with 3×3 sub-squares on November 19, 1892.[7] It was not a Sudoku because it contained double-digit numbers and required arithmetic rather than logic to solve, but it shared key characteristics: each row, column and sub-square added up to the same number.

On July 6, 1895, Le Siècle's rival, La France, refined the puzzle so that it was almost a modern Sudoku. It simplified the 9×9 magic square puzzle so that each row, column and broken diagonals contained only the numbers 1–9, but did not mark the sub-squares. Although they are unmarked, each 3×3 sub-square does indeed comprise the numbers 1–9 and the additional constraint on the broken diagonals leads to only one solution.[8]

These weekly puzzles were a feature of French newspapers such as L'Echo de Paris for about a decade but disappeared about the time of World War I.[9]

The modern Sudoku was most likely designed anonymously by Howard Garns, a 74-year-old retired architect and freelance puzzle constructor from Connersville, Indiana, and first published in 1979 by Dell Magazines as Number Place (the earliest known examples of modern Sudoku).[1] Garns's name was always present on the list of contributors in issues of Dell Pencil Puzzles and Word Games that included Number Place, and was always absent from issues that did not.[10] He died in 1989 before getting a chance to see his creation as a worldwide phenomenon.[10] It is unclear if Garns was familiar with any of the French newspapers listed above.

The puzzle was introduced in Japan by Nikoli in the paper Monthly Nikolist in April 1984[10] as Sūji wa dokushin ni kagiru (数字は独身に限る), which also can be translated as "the digits must be single" or "the digits are limited to one occurrence." (In Japanese, dokushin means an "unmarried person".) At a later date, the name was abbreviated to Sudoku (数独) by Maki Kaji (鍜治 真起 Kaji Maki), taking only the first kanji of compound words to form a shorter version.[10] Sudoku is a registered trademark in Japan and the puzzle is generally referred to as Number Place (ナンバープレース Nanbāpurēsu) or, more informally, a portmanteau of the two words, Num(ber) Pla(ce) (ナンプレ Nanpuré). In 1986, Nikoli introduced two innovations: the number of givens was restricted to no more than 32, and puzzles became "symmetrical" (meaning the givens were distributed in rotationally symmetric cells). It is now published in mainstream Japanese periodicals, such as the Asahi Shimbun.

The Times of London began featuring Sudoku in 2004.[11]

Variants

A Sudoku puzzle grid with many colours, with nine rows and nine columns that intersect at square spaces. Some of the spaces are pre-filled with one number each; others are blank spaces for a solver to fill with a number.
A nonomino or Jigsaw Sudoku puzzle, as seen in the Sunday Telegraph
The previous puzzle, solved with additional numbers that each fill a blank space.
Solution numbers in red for above puzzle

Variations of grid sizes

Although the 9×9 grid with 3×3 regions is by far the most common, many other variations exist. Sample puzzles can be 4×4 grids with 2×2 regions; 5×5 grids with pentomino regions have been published under the name Logi-5; the World Puzzle Championship has featured a 6×6 grid with 2×3 regions and a 7×7 grid with six heptomino regions and a disjoint region. Larger grids are also possible. The Times offers a 12×12-grid "Dodeka Sudoku" with 12 regions of 4×3 squares. Dell Magazines regularly publishes 16×16 "Number Place Challenger" puzzles (using the numbers 1-16 or the letters A-P). Nikoli offers 25×25 Sudoku the Giant behemoths. A 100×100-grid puzzle dubbed Sudoku-zilla was published in 2010.[12]

Imposing additional constraints

Another common variant is to add limits on the placement of numbers beyond the usual row, column, and box requirements. Often the limit takes the form of an extra "dimension"; the most common is to require the numbers in the main diagonals of the grid to also be unique. The aforementioned "Number Place Challenger" puzzles are all of this variant, as are the Sudoku X puzzles in The Daily Mail, which use 6×6 grids.

Mini Sudoku

A variant named "Mini Sudoku" appears in the American newspaper USA Today and elsewhere, which is played on a 6×6 grid with 3×2 regions. The object is the same as that of standard Sudoku, but the puzzle only uses the numbers 1 through 6. A similar form, for younger solvers of puzzles, called "The Junior Sudoku", has appeared in some newspapers, such as some editions of The Daily Mail.

Killer Sudoku

A Killer Sudoku puzzle
Solution for puzzle to the left
Main article: Killer sudoku

The Killer Sudoku variant combines elements of Sudoku and Kakuro.

Alphabetical Sudoku

A Wordoku puzzle
Solution in red for puzzle to the left

Alphabetical variations have emerged, sometimes called Wordoku; there is no functional difference in the puzzle unless the letters spell something. Some variants, such as in the TV Guide, include a word reading along a main diagonal, row, or column once solved; determining the word in advance can be viewed as a solving aid. A Wordoku might contain words other than the main word.

"Quadratum latinum" is a Sudoku variation with Latin numbers (I, II, III, IV, ..., IX) proposed by Hebdomada aenigmatum, a monthly magazine of Latin puzzles and crosswords. Like the "Wordoku", the "Quadratum latinum" presents no functional difference with a normal Sudoku but adds the visual difficulty of using Latin numbers.

Akshara Sudoku

A.N.Prahlada Rao Crossword Writer from Bangalore, INDIA has created new type of Sudoku, using a Kannada language word consisting of 9 letters not repeatable and named ‘Akshara Sudoku’ (Akshara means letter). This type of Sudoku is publishing weekly twice in VIJAYA KARNATAKA a popular Kannada Daily Newspaper from 2013. Before this, his ‘Akshara Sudoku’ was published every week in the name of ‘CHARVITA CHARVANA’ (means mixing) was published in KARMAVEERA the Kannada weekly about 3 years in the year 2004-2007. A.N.Prahlada Rao has introduced this type of Sudoku, using Kannada letters instead of numbers 1 to 9. The interesting thing is every time he is using a different 9 letters Kannada word, selecting all 9 different letters in the word. A.N.Prahlada rao’s (b July 24, 1953) name has mentioned in LIMCA Book of Records-2015 for creating 29,258 crosswords that have been published in 43 Kannada magazines to June 30, 2014. He is the highest Crossword writer in Indian languages. His first crossword was published in the Kannada weekly Aragini in 1984. He has seven crossword books to his credit. <http://www.limcabookofrecords.in/recordDetail.aspx?rid=616>

Hypersudoku

A Sudoku puzzle grid with four blue quadrants and nine rows and nine columns that intersect at square spaces. Some of the spaces are pre-filled with one number each; others are blank spaces for a solver to fill with a number.
Hypersudoku puzzle
The previous puzzle, solved with additional numbers that each fill a blank space.
Solution numbers for puzzle to the left

Hypersudoku is one of the most popular variants. It is published by newspapers and magazines around the world and is also known as "NRC Sudoku", "Windoku", "Hyper-Sudoku", and "4 Square Sudoku". The layout is identical to a normal Sudoku, but with additional interior squares defined in which the numbers 1 to 9 must appear. The solving algorithm is slightly different from the normal Sudoku puzzles because of the emphasis on the overlapping squares. This overlap gives the player more information to logically reduce the possibilities in the remaining squares. The approach to playing is similar to Sudoku but with possibly more emphasis on scanning the squares and overlap rather than columns and rows.

Puzzles constructed from multiple Sudoku grids are common. Five 9×9 grids that overlap at the corner regions in the shape of a quincunx is known in Japan as Gattai 5 (five merged) Sudoku. In The Times, The Age, and The Sydney Morning Herald this form of puzzle is known as Samurai SuDoku. The Baltimore Sun and the Toronto Star publish a puzzle of this variant (titled High Five) in their Sunday edition. There are often no givens in the overlapping regions. Sequential grids, as opposed to overlapping, are also published, with values in specific locations in grids needing to be transferred to others.

Str8ts shares the Sudoku requirement of uniqueness in the rows and columns but the third constraint is very different. Str8ts uses black cells (some with clue numbers) to divide the board into compartments. These must be filled with a set of numbers that form a "straight", like the poker hand. A straight is a set of numbers with no gaps in them, such as "4,3,6,5"—and the order can be non-sequential. 9×9 is the traditional size but with suitable placement of black cells any size board is possible.

An example of Greater Than Sudoku

A tabletop version of Sudoku can be played with a standard 81-card Set deck (see Set game). A three-dimensional Sudoku puzzle was published in The Daily Telegraph in May 2005. The Times also publishes a three-dimensional version under the name Tredoku. There is also a Sudoku version of the Rubik's Cube named Sudoku Cube.

There are many other variants.[13][14] Some are different shapes in the arrangement of overlapping 9×9 grids, such as butterfly, windmill, or flower.[15] Others vary the logic for solving the grid. One of these is "Greater Than Sudoku". In this a 3×3 grid of the Sudoku is given with 12 symbols of Greater Than (>) or Less Than (<) on the common line of the two adjacent numbers.[10] Another variant on the logic of solution is "Clueless Sudoku", in which nine 9×9 Sudoku grids are themselves placed in a 3×3 array. The center cell in each 3×3 grid of all nine puzzles is left blank and form a tenth Sudoku puzzle without any cell completed; hence, "clueless".[15]

Mathematics of Sudoku

Main article: Mathematics of Sudoku

The results in the following text refer to classic sudoku, disregarding jigsaw, hyper and others.

A completed Sudoku grid is a special type of Latin square with the additional property of no repeated values in any of the 9 blocks of contiguous 3×3 cells. The relationship between the two theories is now completely known, after it was proven that a first-order formula that does not mention blocks (also called boxes or regions) is valid for Sudoku if and only if it is valid for Latin Squares (this property is trivially true for the axioms and it can be extended to any formula).[16]

The number of classic 9×9 Sudoku solution grids is 6,670,903,752,021,072,936,960 (sequence A107739 in OEIS), or approximately 6.67×1021. This is roughly 1.2×106 times the number of 9×9 Latin squares.[17] Various other grid sizes have also been enumerated—see the main article for details. The number of essentially different solutions, when symmetries such as rotation, reflection, permutation and relabelling are taken into account, was shown to be just 5,472,730,538[18] (sequence A109741 in OEIS).

Unlike the number of complete Sudoku grids, the number of minimal 9×9 Sudoku puzzles is not precisely known. (A minimal puzzle is one in which no clue can be deleted without losing uniqueness of the solution.) However, statistical techniques combined with the definition of a new type of generator[19] allow showing that there are approximately (with 0.065% relative error):

The maximum number of givens provided while still not rendering a unique solution is four short of a full grid (77); if two instances of two numbers each are missing from cells that occupy the corners of an orthogonal rectangle, and exactly two of these cells are within one region, there are two ways the numbers can be assigned. Since this applies to Latin squares in general, most variants of Sudoku have the same maximum. The inverse problem—the fewest givens that render a solution unique—was proven to be 17 in January 2012 (confirmed in September 2013).[20][21] A number of valid puzzles with 17 givens have been found for the standard variation without a symmetry constraint, by Japanese puzzle enthusiasts,[22][23] and 18 with the givens in rotationally symmetric cells. Over 49,000 examples of Sudoku puzzles with 17 givens resulting in a unique solution are known.[23]

The arrangement of numbers in Sudoku puzzles have greater Shannon entropy than the number arrangements in randomly generated 9×9 matrices. This is because the rules of Sudoku exclude some random arrangements that have an innate symmetry.[24]

The general problem of solving Sudoku puzzles on n2 × n2 boards of n × n blocks is known to be NP-complete.[25]

A popular approach to quickly solve any Sudoku puzzle is programming an application of Dancing Links, with typical results in milliseconds for a 9x9 Sudoku. Although it does not indicate how hard the puzzle would be for humans, at least it is known if the solution is unique, not possible or how many possible solutions exist.

Popularity since 1997 outside Japan

In 1997, New Zealander and retired Hong Kong judge Wayne Gould, then in his early 50s, saw a partly completed puzzle in a Japanese bookshop. Over six years he developed a computer program to produce puzzles quickly. Knowing that British newspapers have a long history of publishing crosswords and other puzzles, he promoted Sudoku to The Times in Britain, which launched it on November 12, 2004 (calling it Su Doku). The first letter to The Times regarding Su Doku was published the following day on November 13 from Ian Payn of Brentford, complaining that the puzzle had caused him to miss his stop on the tube.[26]

The rapid rise of Sudoku in Britain from relative obscurity to a front-page feature in national newspapers attracted commentary in the media and parody (such as when The Guardian's G2 section advertised itself as the first newspaper supplement with a Sudoku grid on every page).[27] Recognizing the different psychological appeals of easy and difficult puzzles, The Times introduced both side by side on June 20, 2005. From July 2005, Channel 4 included a daily Sudoku game in their Teletext service. On August 2, the BBC's program guide Radio Times featured a weekly Super Sudoku with a 16×16 grid.

In the United States, the first newspaper to publish a Sudoku puzzle by Wayne Gould was The Conway Daily Sun (New Hampshire), in 2004.[28]

The world's first live TV Sudoku show, July 1, 2005, Sky One

The world's first live TV Sudoku show, Sudoku Live, was a puzzle contest first broadcast on July 1, 2005 on Sky One. It was presented by Carol Vorderman. Nine teams of nine players (with one celebrity in each team) representing geographical regions competed to solve a puzzle. Each player had a hand-held device for entering numbers corresponding to answers for four cells. Phil Kollin of Winchelsea, England was the series grand prize winner taking home over £23,000 over a series of games. The audience at home was in a separate interactive competition, which was won by Hannah Withey of Cheshire.

Later in 2005, the BBC launched SUDO-Q, a game show that combines Sudoku with general knowledge. However, it uses only 4×4 and 6×6 puzzles. Four seasons were produced, before the show ended in 2007.

In 2006, a Sudoku website published songwriter Peter Levy's Sudoku tribute song,[29] but quickly had to take down the MP3 file due to heavy traffic. British and Australian radio picked up the song, which is to feature in a British-made Sudoku documentary. The Japanese Embassy also nominated the song for an award, with Levy doing talks with Sony in Japan to release the song as a single.[30]

Sudoku software is very popular on PCs, websites, and mobile phones. It comes with many distributions of Linux. Software has also been released on video game consoles, such as the Nintendo DS, PlayStation Portable, the Game Boy Advance, Xbox Live Arcade, the Nook e-book reader, Kindle Fire tablet, several iPod models, and the iPhone.Also many Nokia phones had Sudoku too. In fact, just two weeks after Apple Inc. debuted the online App Store within its iTunes Store on July 11, 2008, there were already nearly 30 different Sudoku games, created by various software developers, specifically for the iPhone and iPod Touch. One of the most popular video games featuring Sudoku is Brain Age: Train Your Brain in Minutes a Day!. Critically and commercially well-received, it generated particular praise for its Sudoku implementation[31][32][33] and sold more than 8 million copies worldwide.[34] Due to its popularity, Nintendo made a second Brain Age game titled Brain Age2, which has over 100 new Sudoku puzzles and other activities.

In June 2008 an Australian drugs-related jury trial costing over A$1 million was aborted when it was discovered that five of the twelve jurors had been playing Sudoku instead of listening to evidence.[35]

Competitions

Sudoku competition at SM City Baliuag

See also

References

  1. 1.0 1.1 Grossman, Lev (March 11, 2013). "The Answer Men". Time. Retrieved March 4, 2013.(registration required)
  2. Arnoldy, Ben. "Sudoku Strategies". The Home Forum (The Christian Science Monitor).
  3. Schaschek, Sarah (March 22, 2006). "Sudoku champ's surprise victory". The Prague Post. Archived from the original on August 13, 2006. Retrieved February 18, 2009.
  4. Lawler, E. L.; Jan Karel Lenstra, A.H.G. Rinnooy Kan, D.B. Shmoys (1985). The Traveling Salesman problem – A Guided Tour of Combinatorial Optimization. John Wiley & Sons. ISBN 0-471-90413-9.
  5. Hayes, Brian (2006). "Unwed Numbers". American Scientist 94 (1): 12–15. doi:10.1511/2006.57.3475.
  6. Smith, David (May 15, 2005). "So you thought Sudoku came from the Land of the Rising Sun ...". The Observer. Retrieved June 13, 2008. The puzzle gripping the nation actually began at a small New York magazine
  7. Boyer, Christian (May 2006). "Supplément de l’article " Les ancêtres français du sudoku "" (PDF). Pour la Science (reprint): 1–6. Archived from the original (PDF) on December 10, 2006. Retrieved August 3, 2009.
  8. Boyer, Christian (2007). "Sudoku's French ancestors". (personal webpage). Archived from the original on October 10, 2007. Retrieved August 3, 2009.
  9. Malvern, Jack (June 3, 2006). "Les fiendish French beat us to Su Doku". Times Online (London). Retrieved September 16, 2006.
  10. 10.0 10.1 10.2 10.3 10.4 Pegg, Ed, Jr. (September 15, 2005). "Ed Pegg Jr.'s Math Games: Sudoku Variations". MAA Online. The Mathematical Association of America. Retrieved October 3, 2006.
  11. Devlin, Keith (January 28–29, 2012). "The Numbers Game (book review of Taking Sudoku Seriously by Jason Rosenhouse et al.)". The Wall Street Journal (Weekend Edition). p. C5.
  12. Eisenhauer, William (2010). Sudoku-zilla. CreateSpace. p. 220. ISBN 978-1-4515-1049-2.
    • Conceptis, Puzzles (2013). Amazing Sudoku Variants. Puzzlewright. ISBN 978-1454906520.
    • Murali, A V (2014). A Collection of Fascinating Games and Puzzles. CreateSpace Independent Publishing Platform. ISBN 978-1500216429.
  13. 15.0 15.1 "Zahlenraetsel". www.janko.at.
  14. Berthier, Denis (2007). The Hidden Logic of Sudoku. LULU PR. p. 76. ISBN 1-84753-472-4. p. 76.: "any block-free resolution rule is already valid in the theory of Latin Squares extended to candidates". Restated more explicitly in the second edition, p. 86, as: "a block-free formula is valid for Sudoku if and only if it is valid for Latin Squares"
  15. Jarvis, Frazer (July 31, 2006). "Sudoku enumeration problems". Frazer Jarvis's home page. Retrieved September 16, 2006. Detailed calculation of this figure.
  16. Jarvis, Frazer; Russell, Ed (September 7, 2005). "There are 5472730538 essentially different Sudoku grids ... and the Sudoku symmetry group". Frazer Jarvis's home page. Retrieved September 16, 2006.
  17. Berthier, Denis (December 4, 2009). "Unbiased Statistics of a CSP – A Controlled-Bias Generator". In Elleithy, Khaled. Innovations in Computing Sciences and Software Engineering. pp. 165–170. Retrieved December 4, 2009.
  18. G. McGuire, B. Tugemann, G. Civario. "There is no 16-Clue Sudoku: Solving the Sudoku Minimum Number of Clues Problem". Arxiv.org.
  19. H.H. Lin, I-C. Wu. "No 16-clue Sudoku puzzles by sudoku@vtaiwan project", September, 2013.
  20. プログラミングパズルに関心のある人は雑談しましょう. プログラミングパズル雑談コーナー / Programming Puzzle Idle Talk Corner (in Japanese). Retrieved September 16, 2006.
  21. 23.0 23.1 Royle, Gordon. "Minimum Sudoku". Retrieved September 16, 2006.
  22. Newton, Paul K.; DeSalvo, Stephen A. (2009). "The Shannon entropy of Sudoku matrices". Proceedings of the Royal Society A. doi:10.1098/rspa.2009.0522.
  23. "NP complete - Sudoku" (PDF) (in Japanese). Imai.is.su-tokyo.ac.jp. Retrieved 2013-10-20.
  24. "Letters". Timesonline.co.uk. November 14, 2004. (subscription required)
  25. "G2, home of the discerning Sudoku addict". The Guardian (London). May 13, 2005. Retrieved September 16, 2006.
  26. Correction attached to "Inside Japan's Puzzle Palace". New York Times. March 21, 2007.
  27. "Sudoku the song, by Peter Levy". Sudoku.org.uk. August 17, 2006. Retrieved October 5, 2008.
  28. "Hit Song Has the Numbers". The Herald Sun. August 17, 2006. Retrieved October 5, 2008.
  29. "Brain Age: Train Your Brain in Minutes a Day!". Gamerankings.com.
  30. "Brain Age: ... Review". Gamespot.com.
  31. "Brain Age: ... Review". IGN.com.
  32. Thorsen, Tor (October 26, 2006). "Nintendo posts $456.6 million profit". GameSpot. Retrieved March 29, 2013.
  33. Knox, Malcolm (June 11, 2008). "The game's up: jurors playing Sudoku abort trial". The Sydney Morning Herald. Retrieved June 11, 2008.
  34. "Sudoku title for Czech accountant". BBC News. March 11, 2006. Retrieved September 11, 2006.
  35. "World Sudoku Championship 2006 Instructions Booklet" (PDF). BBC News. Retrieved May 24, 2010.
  36. "Report on the 8th General Assembly of the World Puzzle Federation". World Puzzle Federation. October 30, 2006. Retrieved November 15, 2006.
  37. "Thomas Snyder wins World Sudoku Championship". US Puzzle Team. March 31, 2007. Retrieved April 18, 2008.
  38. Harvey, Michael (April 17, 2008). "It's a puzzle but sun, sea and beer can't compete with Sudoku for British team". TimesOnline (London). Retrieved April 18, 2008.
  39. Malvern, Jack (April 27, 2009). "Su Doku battle goes a little off the wall". TimesOnline (London). Retrieved April 27, 2009.
  40. "Pole, 23, repeats as Sudoku world champ". PhillyInquirer. May 2, 2009. Archived from the original on 2010-05-05. Retrieved August 3, 2013.
  41. "Thomas Snyder, World Sudoku champion". Philadelphia Inquirer. October 21, 2007. Retrieved October 21, 2007.
  42. Shapiro, Howard (October 25, 2009). "Going for 2d, she wins 1st". Philadelphia Inquirer. Archived from the original on 2009-11-02. Retrieved August 3, 2013.
  43. Timpane, John (October 27, 2009). "Possible cheating probed at Sudoku National Championship". Philadelphia Inquirer. Archived from the original on 2009-11-01. Retrieved August 3, 2013.
  44. "3rd-place winner disqualified in sudoku scandal". Philadelphia Inquirer. November 24, 2009. Archived from the original on 2009-11-27. Retrieved August 3, 2013.

Further reading

External links

Wikimedia Commons has media related to Sudoku.