Generate a random sudoku.
X = sudoku_fillrandom ( ) X = sudoku_fillrandom ( verbose )
the 9x9 matrix (without zeros)
Generates a random sudoku. Fills the first block in canonical form. Then fills the upper row by picking a random row in all possible rows. Then solves the sudoku (this can take time). Then permute the rows to make it lose its canonical form.
"Enumerating possible Sudoku grids", Bertram Felgenhauer, Frazer Jarvis, June 2005