line sudoku puzzle sample sudoku kid printable puzzle sudoku download free sudoku sudoku web free online sudoku

The level of difficulty of the puzzles can be selected to suit the audience. The puzzles are often available free from published sources and may also be custom-generated using software. Although the 9×9 grid with 3×3 regions is by far the most common, numerous variations abound: 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 previously featured a 6×6 grid with 2×3 regions and a 7×7 grid with six heptomino regions and a disjoint region; Daily sudoku features new 4×4, 6×6, and simpler 9×9 grids every day as Daily sudoku for Kids. [1] Even the 9×9 grid is not always standard, with Ebb regularly publishing some of those with nonomino regions (also known as a jigsaw variation); the 2005 U.S. Puzzle Championship had a sudoku with parallelogram regions that wrapped around the outer border of the puzzle, as if the grid were toroidal. Larger grids are also possible, with Daily sudoku's 12×12-grid Monster sudoku [2], the Times likewise offers a 12×12-grid Dodeka sudoku with 12 regions each being 4×3, Dell regularly publishing 16×16 Number Place Challenger puzzles (the 16×16 variant often uses 1 through G rather than the 0 through F used in hexadecimal), and Nikoli proffering 25×25 sudoku the Giant behemoths. Other Japanese publishers refer to the puzzle as Number Place, the original U.S. title, or as "Nanpure" for short. Some non-Japanese publishers spell the title as "Su Doku". sudoku is recommended by some teachers as an exercise in logical reasoning. This is a box, containing 9 cells in a 3x3 layout. A filled-in box must have one of each digit. That means that each digit appears only once in the box. There are 9 boxes in the grid, and the same applies to each of them. One method of candidate elimination works by identifying "matched cells". Cells are said to be matched within a particular row, column, or region (scope) if two cells contain the same pair of candidate numerals (p,q) and no others, or if three cells contain the same triplet of candidate numerals (p,q,r) and no others. The placement of these numerals anywhere else within that same scope would make a solution for the matched cells impossible; thus, the candidate numerals (p,q,r) appearing in unmatched cells in that same row, column or region (scope) can be deleted. Although the 9×9 grid with 3×3 regions is by far the most common, numerous variations abound: 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 previously featured a 6×6 grid with 2×3 regions and a 7×7 grid with six heptomino regions and a disjoint region; Daily sudoku features new 4×4, 6×6, and simpler 9×9 grids every day as Daily sudoku for Kids. [1] Even the 9×9 grid is not always standard, with Ebb regularly publishing some of those with nonomino regions (also known as a jigsaw variation); the 2005 U.S. Puzzle Championship had a sudoku with parallelogram regions that wrapped around the outer border of the puzzle, as if the grid were toroidal. Larger grids are also possible, with Daily sudoku's 12×12-grid Monster sudoku [2], the Times likewise offers a 12×12-grid Dodeka sudoku with 12 regions each being 4×3, Dell regularly publishing 16×16 Number Place Challenger puzzles (the 16×16 variant often uses 1 through G rather than the 0 through F used in hexadecimal), and Nikoli proffering 25×25 sudoku the Giant behemoths. By April and May 2005 the puzzle had become popular in these publications and it was rapidly introduced to several other national British newspapers including The Independent, The Guardian, The Sun (where it was labelled Sun Doku), and The Daily Mirror. As the name sudoku became well-known in Britain, the Daily Mail adopted it in place of its earlier name "Codenumber". Newspapers competed to promote their sudoku puzzles, with The Times and the Daily Mail each claiming to have been the first to feature sudoku.

sudoku (Japanese) also known as Number Place, is a logic-based placement puzzle. The aim of the puzzle is to enter a numerical digit from 1 through 9 in each cell of a 9×9 grid made up of 3×3 subgrids (called "regions"), starting with various digits given in some cells (the "givens"). Each row, column, and region must contain only one instance of each numeral. The general problem of solving sudoku puzzles on n2 x n2 boards of n x n blocks is known to be NP-complete [9]. This gives some indication of why sudoku is difficult to solve, although on boards of finite size the problem is finite and can be solved by a deterministic finite automaton that knows the entire game tree. Puzzles constructed from multiple sudoku grids are common. Five 9×9 grids which overlap at the corner regions in the shape of a quincunx is known in Japan as Gattai 5 (five merged) sudoku. In The Times and The Sydney Morning Herald this form of puzzle is known as Samurai sudoku. [6] Puzzles with twenty or more overlapping grids are not uncommon in some Japanese publications. Often, no givens are to be found in overlapping regions. Sequential grids, as opposed to overlapping, are also published, with values in specific locations in grids needing to be transferred to others. This is a column, 9 cells tall. A filled-in column must have one of each digit. That means that each digit appears only once in the column. There are 9 columns in the grid, and the same applies to each of them. There's no math involved, the grid has numbers, but nothing has to add up to anything else. This is a box, containing 9 cells in a 3x3 layout. A filled-in box must have one of each digit. That means that each digit appears only once in the box. There are 9 boxes in the grid, and the same applies to each of them. It is also fairly simple to build a backtracking search. Typically this involves assigning a value (say, 1, or the nearest available number to 1) to the first available cell (say, the top left hand corner) and then moves on to assign the next available value (say, 2) to the next available cell. This continues until a conflict occurs, in which case the next alternative value is used for the last cell changed. If a cell cannot be filled, the program backs up one level (from that cell) and tries the next value at the higher level (hence the name backtracking). Although far from computationally efficient, this "brute force" method will find a solution, given sufficient computation time (even a fairly naive implementation will typically not take a noticeable amount of time). A more efficient program could keep track of potential values for cells, eliminating impossible values until only one value remains for a cell, then filling that cell in and using that information for more eliminations, and so on until the puzzle is solved. In "candidate elimination", progress is made by successively eliminating candidate numerals from one or more cells to leave just one choice. After each answer has been achieved, another scan may be performed—usually checking to see the effect of the contingencies.

sudoku puzzle game and solver by MuddyFunksters

An alternative technique, that some find easier, is to "mark up" those numerals that a cell cannot be. Thus a cell will start empty and as more constraints become known it will slowly fill. When only one mark is missing, that has to be the value of the cell. One advantage to this method of marking is that, assuming no mistakes are made and the marks can be overwritten with the value of a cell, there is no longer a need for any erasures. The second notation uses a pattern of dots within each square, where the position of the dot represents a number from 1 to 9. Dot schemes differ and one method is illustrated here. The dot notation has the advantage that it can be used on the original puzzle. Dexterity is required in placing the dots, since misplaced dots or inadvertent marks inevitably lead to confusion and may not be easy to erase without adding to the confusion. Using a sharp pencil with an eraser end is recommended. Although the 9×9 grid with 3×3 regions is by far the most common, numerous variations abound: 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 previously featured a 6×6 grid with 2×3 regions and a 7×7 grid with six heptomino regions and a disjoint region; Daily sudoku features new 4×4, 6×6, and simpler 9×9 grids every day as Daily sudoku for Kids. [1] Even the 9×9 grid is not always standard, with Ebb regularly publishing some of those with nonomino regions (also known as a jigsaw variation); the 2005 U.S. Puzzle Championship had a sudoku with parallelogram regions that wrapped around the outer border of the puzzle, as if the grid were toroidal. Larger grids are also possible, with Daily sudoku's 12×12-grid Monster sudoku [2], the Times likewise offers a 12×12-grid Dodeka sudoku with 12 regions each being 4×3, Dell regularly publishing 16×16 Number Place Challenger puzzles (the 16×16 variant often uses 1 through G rather than the 0 through F used in hexadecimal), and Nikoli proffering 25×25 sudoku the Giant behemoths. Building a sudoku puzzle by hand can be performed efficiently by pre-determining the locations of the givens and assigning them values only as needed to make deductive progress. Such an undefined given can be assumed to not hold any particular value as long as it is given a different value before construction is completed; the solver will be able to make the same deductions stemming from such assumptions, as at that point the given is very much defined as something else. This technique gives the constructor greater control over the flow of puzzle solving, leading the solver along the same path the compiler used in building the puzzle. (This technique is adaptable to composing puzzles other than sudoku as well.) Great caution is required, however, as failing to recognize where a number can be logically deduced at any point in construction—regardless of how tortuous that logic may be—can result in an unsolvable puzzle when defining a future given contradicts what has already been built. Building a sudoku with symmetrical givens is a simple matter of placing the undefined givens in a symmetrical pattern to begin with. Solving sudoku puzzles (as well as any other NP-hard problem) can be expressed as a graph colouring problem. The aim of the puzzle in its standard form is to construct a proper 9-colouring of a particular graph, given a partial 9-colouring. The graph in question has 81 vertices, one vertex for each cell of the grid. The vertices can be labelled with the ordered pairs , where x and y are integers between 1 and 9. In this case, two distinct vertices labelled by and are joined by an edge if and only if:or, or, and Cross-hatching: the scanning of rows (or columns) to identify which line in a particular region may contain a certain numeral by a process of elimination. This process is then repeated with the columns (or rows). For fastest results, the numerals are scanned in order of their frequency. It is important to perform this process systematically, checking all of the digits 1-9.

The strategy for solving a puzzle may be regarded as comprising a combination of three processes: scanning, marking up, and analysing. The puzzle is then completed by assigning an integer between 1 and 9 to each vertex, in such a way that vertices that are joined by an edge do not have the same integer assigned to them. There is no doubt that it was not until the British Daily Telegraph introduced the puzzle on a daily basis on 23 February 2005 with the full front-page treatment advertising the fact, that the other UK national newspapers began to take real interest. The Telegraph continued to splash the puzzle on its front page, realizing that it was gaining sales simply by its presence. Until then the Times had kept very quiet about the huge daily interest that its daily sudoku competition had aroused. That newspaper already had plans for taking advantage of their market lead, and a first sudoku book was already on the stocks before any other national UK papers had realised just how popular sudoku might be. Nikoli sudoku are hand-constructed, with the author being credited; the givens are always found in a symmetrical pattern. Dell Number Place Challenger (see Variants below) puzzles also list authors. The sudoku puzzles printed in most UK newspapers are apparently computer-generated but employ symmetrical givens; The Guardian licenses and publishes Nikoli-constructed sudoku puzzles, though it does not include credits. The Guardian famously claimed that because they were hand-constructed, their puzzles would contain "imperceptible witticisms" that would be very unlikely in computer-generated sudoku. The challenge to sudoku programmers is teaching a program how to build clever puzzles, such that they may be indistinguishable from those constructed by humans; Wayne Gould required six years of tweaking his popular program before he believed he achieved that level. Another alternative uses finite domain constraint programming. A constraint program specifies the constraints of the puzzle (the fact that every number in each row, each column, and each 3×3 region must be unique, and the provided "givens"); a finite domain solver applies the constraints successively to narrow down the solution space until a solution is found. Backtracking may be applied when alternate values cannot otherwise be excluded. A valid sudoku solution grid is also a Latin square. There are significantly fewer valid sudoku solution grids than Latin squares because sudoku imposes the additional regional constraint. Nonetheless, the number of valid sudoku solution grids for the standard 9×9 grid was calculated by Bertram Felgenhauer in 2005 to be 6,670,903,752,021,072,936,960 [10] (sequence A107739 in OEIS). This number is equal to 9! × 722 × 27 × 27,704,267,971, the last factor of which is prime. The result was derived through logic and brute force computation. The derivation of this result was considerably simplified by analysis provided by Frazer Jarvis and the figure has been confirmed independently by Ed Russell. Russell and Jarvis also showed that when symmetries were taken into account, there were 5,472,730,538 solutions [11] (sequence A109741 in OEIS). The number of valid sudoku solution grids for the 16×16 derivation is not known. Building a sudoku puzzle by hand can be performed efficiently by pre-determining the locations of the givens and assigning them values only as needed to make deductive progress. Such an undefined given can be assumed to not hold any particular value as long as it is given a different value before construction is completed; the solver will be able to make the same deductions stemming from such assumptions, as at that point the given is very much defined as something else. This technique gives the constructor greater control over the flow of puzzle solving, leading the solver along the same path the compiler used in building the puzzle. (This technique is adaptable to composing puzzles other than sudoku as well.) Great caution is required, however, as failing to recognize where a number can be logically deduced at any point in construction—regardless of how tortuous that logic may be—can result in an unsolvable puzzle when defining a future given contradicts what has already been built. Building a sudoku with symmetrical givens is a simple matter of placing the undefined givens in a symmetrical pattern to begin with. The two main approaches to analysis are "candidate elimination" and "what-if".

sudoku listing

Main listing