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`
XYChain
​
XYChain
[sudoku,pos]
shows the reductions at the given position due to an XY-chain.
​
Details and Options

Examples  
(2)
Basic Examples  
(2)
In[1]:=
XYChain
["1TV!kcx6EIlSgGInEe#FjBmGywGWWDB8A5I&CqH@bkRm",{3,1}]
Out[1]=
Contents cannot be rendered at this time; please try again later or download this notebook for full functionality »
XYChain-8: R3C1(6)
The three yellow colored cells form an XY-chain (or, because of the length is 3, an Y-wing) for the candidate 8. Start with the dark yellow cell R2C1. When it is not 8, it is 7, hence R2C9 is 9 and R3C7 is 8. Therefore, the candidate 8 has to be placed in at least one of the yellow cells R2C1 and R3C7 and therefore can be removed form the green cell R3C1, that sees both endpoints of the chain..
​
In[1]:=
XYChain
["a@SnhBNbnymjdTU43Lqhd8$tsOSSRzg&&@SdB6GnH56s",{9,6}]
Out[1]=
Contents cannot be rendered at this time; please try again later or download this notebook for full functionality »
XYChain-5: R5C4(2,6), R9C6(3,8)
This is a longer XY-chain, for the candidate 5. Start in the dark yellow endpoint R4C6. If we do not have a 5 there, it is a 3, which implies R4C1=6, R4C8=4, R9C8=8, R7C9=4 and therefore in the other endpoint R7C4 we must have a 5. Therefore, the candidate 5 can be removed from the two cells R5C4 and R9C6, that see both endpoints.
SeeAlso
Hints
 
▪
SudokuInfo
 
▪
$AllRules
TechNotes
▪
Logical Rules for Solving a Sudoku
RelatedGuides
▪
Sudoku Hints
""

© 2025 Wolfram. All rights reserved.

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