sudoku
sudoku,
a data directory which
contains examples of Sudoku puzzles. A 9x9 grid of 3x3 boxes
and 81 cells is presented. In a completed Sudoku, the digits 1
through 9 are placed in the 81 cells, in such a way that each row,
column and box contains each digit exactly once. A Sudoku puzzle
is a partially completed Sudoku in which the user must figure out
how to complete the pattern. In an uncompleted puzzle, each missing
digit is indicated by a '0' digit.
The first 16 example puzzles were collected by Cleve Moler, and presented
as part of his text "EXM: Experiments with MATLAB".
Licensing:
The information on this web page is distributed under the MIT license.
Related Programs and Data:
exm,
a MATLAB code which
contains scripts and data discussed in the electronic textbook
"Experiments with Matlab", by Cleve Moler,
including easter, Fast Fourier Transforms, Fibonacci numbers,
the fractal fern, the game of Life, magic matrices,
the Mandelbrot set, Morse code,
Music, Ordinary Differential Equations, the page rank algorithm,
planetary orbits, predator prey equations,
the shallow water equations, Sudoku puzzles.
sudoku,
a MATLAB code which
handles Sudoku puzzles;
Reference:
Source code:
-
puzzle_01.txt,
Incorporates magic square.
-
puzzle_02.txt,
Easy, no backtracking required.
-
puzzle_03.txt,
Slightly difficult, only a few backtracking steps, not unique.
-
puzzle_04.txt,
Four-fold rotational symmetry. Not too difficult.
-
puzzle_05.txt,
Moderately difficult, a few hundred backtracing steps.
-
puzzle_06.txt,
An airline magazine says this is difficult. Is it?
-
puzzle_07.txt,
Solution is not unique.
Herzberg and Murty, Notices AMS, v.54, n.6, June 2007.
-
puzzle_08.txt,
Difficult.
Only 17 nonzero initial entries.
Herzberg and Murty, Notices AMS, v.54, n.6, June 2007.
-
puzzle_09.txt,
Good example of backtracking.
Michael Mephapm, "Diabolical"
-
puzzle_10.txt,
Beware. Very Challenging."
Will Shortz, puzzle 301.
-
puzzle_11.txt,
"Beware. Very Challenging."
Will Shortz, puzzle 400.
-
puzzle_12.txt,
Structural symmetry and not too difficult.
American Math Monthly.
-
puzzle_13.txt,
Nice spiral pattern, but there are 346 solutions.
Salim Jaliwala, "Scratch n' Play Sudoku", volume 1, page 80.
-
puzzle_14.txt,
Structural symmetry.
Gordon Royle, University of Western Australia
-
puzzle_15.txt,
Very close to matrix symmetry, and very difficult.
Gordon Royle, University of Western Australia.
-
puzzle_16.txt,
Structural symmetry and only 17 nonzero initial entries.
Gordon Royle, University of Western Australia.
-
solution_01.txt
-
solution_02.txt
-
solution_03.txt
-
solution_04.txt
-
solution_05.txt
-
solution_06.txt
-
solution_07.txt
-
solution_08.txt
-
solution_09.txt
-
solution_10.txt
-
solution_11.txt
-
solution_12.txt
-
solution_13.txt
-
solution_14.txt
-
solution_15.txt
-
solution_16.txt
Last revised on 02 August 2025.