Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

SudokuHints

Guides

  • Sudoku Hints

Tech Notes

  • Logical Rules for Solving a Sudoku
  • Representation of a Sudoku
  • String Representation of a Sudoku

Symbols

  • BackTracking
  • bla
  • CandidateSet
  • CellSize
  • Clues
  • ColoredCells
  • ColoredGroupColor
  • ColoredGroups
  • CommonCellColor
  • ConjugateLists
  • DiskCells
  • Disks
  • DoubleCandidate
  • DoubleCandidate
  • EditClues
  • EditColoredGroups
  • EditLineGroups
  • EditOutlinedGroups
  • EditSudoku
  • EnterClues
  • EnterSudoku
  • ExcludeCommonCells
  • ExportSudoku
  • ExtendSudoku
  • ExtraBlockCellColor
  • ExtraBlocks
  • GenerateSudokus
  • HiddenPair
  • HiddenPairs
  • HiddenQuadruple
  • HiddenQuadruples
  • HiddenSingle
  • HiddenSingles
  • HiddenTriple
  • HiddenTriples
  • Hints
  • IncludeCandidates
  • LineGroups
  • LockedCandidates
  • MaxClues
  • MaxSolutions
  • MaxSteps
  • MonitorSteps
  • NumericalString
  • OutlinedGroups
  • Pair
  • Pairs
  • QuadrupleCandidate
  • Quadruple
  • ReduceClues
  • ReduceSudoku
  • SetDisplay
  • SetDisplayOptions
  • SetSdokuOptions
  • SetSudokuOptions
  • ShowCandidates
  • ShowInfo
  • Single
  • Singles
  • SolveSudoku
  • SudokuFromString
  • SudokuHints
  • SudokuInfo
  • Sudoku
  • SudokuToString
  • SwordFish
  • ThreeGroups
  • TripleCandidate
  • Triple
  • Triples
  • XRule
  • XXXMaxSteps
  • XYChain
  • XYZWing
  • YWing
  • ZZZExtraBlocks
  • ZZZLockedCandidates
  • $AllRules
  • $Sudoku
FredSimons`SudokuHints`
GenerateSudokus
​
GenerateSudokus
[sudoku,maxclues,rules,print]
continuously generates sudoku's with a unique solution with the same groups as the given sudoku and at most maxclues clues, and then reduces the set of clues. The intermediate results for which the info matches the function print will be printed.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
The next command generates double sudoku's with one common block that can be solved with the rules Single, HiddenSingle and CandidateSet. Only intermediate results with a relatively small number of clues are printed.
In[1]:=
GenerateSudokus

Sudoku
[{1,1},{7,7}],52,{"Single","HiddenSingle","CandidateSet"},#["Clues"]<44&,
ExcludeCommonCells
True
deB9AAGdv%UPlN%fU%akUvHRJ1#GRk1Q0LourksoDjL2YQqdYOwoxvA%F1OBKHNSYICvPOmzB4lQU&yWPl0||439117p3D@gSolutions1,Clues43,Singles43,HiddenSingles4,CandidateSets1
deB9AAGdv%UPlN%fU%akUvHRJ1#GRk1Q0LourksoDjL2YQqdYOwoxvAqzhyUt5DkUycxm&5dKsw#BhO1&L8||439117p3D@gSolutions1,Clues42,Singles39,HiddenSingles4,CandidateSets1
4x!!IwP3ozzfE4rxYL!UOo$cCZkh5cRyJ1BGcgrl4YOyyX6J79I5n%BUgRFLHN0qyPuNg0r3$nbez@Gubxy||439117p3D@gSolutions1,Clues43,Singles24,HiddenSingles7,CandidateSets1
4x!!IwP3ozzfE4rxYL!UOo$cCZkh5cRyJ1BGcgrl4YOyyX6J79I5n%BUgRFLHN0qyPuNg0r3$nbez@GubxA||439117p3D@gSolutions1,Clues42,Singles30,HiddenSingles7,CandidateSets1
4x!!IwP3ozzfE4rxYL!UOo$cCZkXKsDiagonj##hZ0TF5E&!d0AAHMzDP4MsEuMGRl7ppd4fbNNeXW&abqO||439117p3D@gSolutions1,Clues42,Singles28,HiddenSingles7,CandidateSets1
4x!!IwP3ozzfE4rxYL!UOo$cCZkXKsDiagonj##hZ0TF5E&!d0AAHMzDP4MsEuMGRl7ppd4fbNNeXW&abpg||439117p3D@gSolutions1,Clues41,Singles34,HiddenSingles7,CandidateSets1
4x!!IwP3ozzfE4qyuSvomSEuC8ssQRv!WtbjbdNWMXrWtW0LBUVVg892LsMVjyn&HFntK&HXMP9vg2c8n@w||439117p3D@gSolutions1,Clues40,Singles35,HiddenSingles7,CandidateSets1
Goepx2JKoGtq6fiyi$yIag4sF@lL7EA!#s80$m7qbP9@wHwF77$crlmnGE!#tD2ilX#!Y4e6uLzVH7h8opk||439117p3D@gSolutions1,Clues43,Singles38,HiddenSingles10,CandidateSets2
Goepx2JKoGtq6fiyi$yIag4sF@lL7EA!#s80$m7qbP9@wHwF77$crlmnGE!#tD2ikqlfPQ&jkIWCNrTo&rM||439117p3D@gSolutions1,Clues42,Singles39,HiddenSingles14,CandidateSets3
B9cAckYJ3G9!8Prqd6hqUGslQ19ZZeKFjUqOQCI17ielOegRIb19t#ZMfnch#lWr!d$T09bh0!O!a5lYm#||439117p3D@gSolutions1,Clues43,Singles23,HiddenSingles6,CandidateSets1
B9cAckYJ3G9!8Prqd6hqUGslQ19ZZdrQnSbj8qLp@7VXhVo8A#jkTEIxAuFWyggH81E6G8wTWjZu!cymTi||439117p3D@gSolutions1,Clues43,Singles25,HiddenSingles6,CandidateSets1
B9cAckYJ3G9!8Prqd6hqUGslQ19ZZeKFjUqOQCI17ielOegRIb19t#ZMfnch#lWr!d$T09bh0!KV6RV9Om||439117p3D@gSolutions1,Clues42,Singles17,HiddenSingles7,CandidateSets1
B9cAckYJ3G9!8Prqd6hqUGslQ19ZZdrQnSbj8qLp@7VXhVnpReX5psxjGXNVUnk$Ie2W0j@jG&SrqOUN3a||439117p3D@gSolutions1,Clues41,Singles18,HiddenSingles7,CandidateSets1
Out[1]=
$Aborted
SeeAlso
Sudoku
 
▪
SolveSudoku
 
▪
ExtendSudoku
 
▪
ReduceClues
 
▪
$AllRules
 
▪
SudokuInfo
RelatedGuides
▪
Sudoku Hints
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com