<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sudopedia.org/index.php?action=history&amp;feed=atom&amp;title=Diagrams_and_Notations</id>
	<title>Diagrams and Notations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.sudopedia.org/index.php?action=history&amp;feed=atom&amp;title=Diagrams_and_Notations"/>
	<link rel="alternate" type="text/html" href="https://www.sudopedia.org/index.php?title=Diagrams_and_Notations&amp;action=history"/>
	<updated>2026-04-29T05:34:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://www.sudopedia.org/index.php?title=Diagrams_and_Notations&amp;diff=10&amp;oldid=prev</id>
		<title>Rooted: Created page with &quot;Various diagrams and notations are commonly used by the Sudoku community. As such, these diagrams and notations can be found sprinkled all over Sudopedia. A good part of these...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sudopedia.org/index.php?title=Diagrams_and_Notations&amp;diff=10&amp;oldid=prev"/>
		<updated>2020-05-31T04:26:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Various diagrams and notations are commonly used by the Sudoku community. As such, these diagrams and notations can be found sprinkled all over Sudopedia. A good part of these...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Various diagrams and notations are commonly used by the Sudoku community. As such, these diagrams and notations can be found sprinkled all over Sudopedia. A good part of these are developed so that communication becomes possible in text-based [[Sudoku Forums|forums]], and also for compactness reasons. This article is intended to guide the reader to some of these communications tools.&lt;br /&gt;
&lt;br /&gt;
Although this article refers to several [[solving technique]]s, this article merely use them to illustrate diagrams and notations that are used. Since the aim of this article is not to describe these techniques, readers are advised to refer to the various other Sudopedia pages that describe them in more detail.&lt;br /&gt;
&lt;br /&gt;
== Givens ==&lt;br /&gt;
&lt;br /&gt;
In a Sudoku, you are presented with a starting [[grid]] with some [[digits]] already given in some [[cell]]s. These digits are usually referred to as '''[[given]]s'''. Your task is to fill up the remainder of this grid, as described in the [[introduction]]. An example [[grid]] is shown below. (This grid is rated easy and can be solved using [[single]]s alone.)&lt;br /&gt;
&lt;br /&gt;
[[Image:DiagramsAndNotations-Givens.png]]&lt;br /&gt;
&lt;br /&gt;
However, in the [[Sudoku Forums]], it is often inconvenient (or sometimes impossible) to upload graphics (e.g. GIFs, JPGs, PNGs). So an alternative text-based format for the same grid is as follows.&lt;br /&gt;
&lt;br /&gt;
 .-----.-----.-----.&lt;br /&gt;
 |3 1 .|. . 4|. 6 9|&lt;br /&gt;
 |. . .|. . .|2 . .|&lt;br /&gt;
 |. . 8|. . 5|. 4 .|&lt;br /&gt;
 :----- ----- -----:&lt;br /&gt;
 |. . .|. . .|. . 5|&lt;br /&gt;
 |. . 6|. . .|. 1 7|&lt;br /&gt;
 |8 . 7|. 3 .|. . .|&lt;br /&gt;
 :----- ----- -----:&lt;br /&gt;
 |5 9 .|7 . .|. . 6|&lt;br /&gt;
 |6 . .|. . 3|. 5 .|&lt;br /&gt;
 |. . .|1 . .|. . 2|&lt;br /&gt;
 '-----'-----'-----'&lt;br /&gt;
&lt;br /&gt;
The above format allows easy visualization of the grid, but it takes up a fair amount of screen estate. Sometimes, people want to describe many starting grids in one go, say, as examples that can be solved using a certain [[solving technique]]. For such usage, the Sudoku grid is often presented as an '''81-digit string'''. In this format, the digit 0 is used to denote an empty cell and all the values of the cells are concatenated into one long string. So the 81-digit string of the example grid is shown below.&lt;br /&gt;
&lt;br /&gt;
 310004069000000200008005040000000005006000017807030000590700006600003050000100002&lt;br /&gt;
&lt;br /&gt;
Most good [[Sudoku Programs]] are able to accept such 81-digit strings as input, usually through their ''paste'' function. These programs usually also allow users to export the grid in any of the above text-based formats via their ''copy'' function.&lt;br /&gt;
&lt;br /&gt;
== Pencilmarks ==&lt;br /&gt;
&lt;br /&gt;
Unless a given Sudoku grid can be solved using [[single]]s alone, most Sudoku players will need to maintain '''[[pencilmark]]s''' while solving the puzzle. Basically, the pencilmarks indicate the possible [[candidate]] digits for each empty cell. Practically all solving strategies operate by [[eliminating]] candidates from cells until only each cell has only one candidate remaining. Cells with only one possible candidate digit can be immediately placed with that digit, in what is known as the [[Naked Single]] technique. Due to the presentation of most Sudoku programs, the givens and the placed digits are often referred to as '''big numbers''' while the pencilmarked candidates are often referred to as '''small numbers'''. The same example grid with pencilmarks is shown in the graphic below.&lt;br /&gt;
&lt;br /&gt;
[[Image:DiagramsAndNotations-Pencilmarks.png]]&lt;br /&gt;
&lt;br /&gt;
Again, for communicating in text-based forums, the text-based format for the grid with pencilmarks is shown below. It is sometimes called the '''candidate grid''', and it has no notion of big numbers and small numbers.&lt;br /&gt;
&lt;br /&gt;
 .------------------------.------------------------.------------------------.&lt;br /&gt;
 | 3       1       25     | 28      278     4      | 578     6       9      |&lt;br /&gt;
 | 479     4567    459    | 3689    16789   16789  | 2       378     138    |&lt;br /&gt;
 | 279     267     8      | 2369    12679   5      | 137     4       13     |&lt;br /&gt;
 :------------------------ ------------------------ ------------------------:&lt;br /&gt;
 | 1249    234     12349  | 24689   1246789 126789 | 34689   2389    5      |&lt;br /&gt;
 | 249     2345    6      | 24589   24589   289    | 3489    1       7      |&lt;br /&gt;
 | 8       245     7      | 24569   3       1269   | 469     29      4      |&lt;br /&gt;
 :------------------------ ------------------------ ------------------------:&lt;br /&gt;
 | 5       9       1234   | 7       248     28     | 1348    38      6      |&lt;br /&gt;
 | 6       2478    124    | 2489    2489    3      | 14789   5       148    |&lt;br /&gt;
 | 47      3478    34     | 1       45689   689    | 34789   3789    2      |&lt;br /&gt;
 '------------------------'------------------------'------------------------'&lt;br /&gt;
&lt;br /&gt;
Most good Sudoku programs can also import and export the textual candidate grid format.&lt;br /&gt;
&lt;br /&gt;
== Cell Reference ==&lt;br /&gt;
&lt;br /&gt;
Sudoku literature often makes references to particular cells, and the preferred notation is '''[[rncn]]'''. For example, '''r1c2''' refers to the cell at [[row]] 1 (from the top) and [[column]] 2 (from the left). This is consistent with matrix notation in mathematics.&lt;br /&gt;
&lt;br /&gt;
An alternate notation that is sometimes seen is the '''[[k9]]''' notation, which uses a letter to denote the row and a number to denote the column. However, the '''k9''' notation often causes confusion regarding whether the letter or the number denotes the column, and whether the lettering goes from top to bottom or bottom to top. Therefore, most Sudoku literature has adopted the '''rncn''' format.&lt;br /&gt;
&lt;br /&gt;
When we say that we can place a digit 3 in the cell at row 1 and column 2, we can write '''r1c2=3'''. On the other hand, when we say that the cell at row 1 and column 2 cannot contain the digit 3, or in other words, we eliminate 3 from the cell at row 1 and column 2, we can write '''r1c2&amp;lt;&amp;gt;3'''. (It appears that BASIC programmers have first propagated this notation, for the not-equals operator in BASIC is '''&amp;lt;&amp;gt;'''. Most other programming languages use '''!=''' as the not-equals operator.)&lt;br /&gt;
&lt;br /&gt;
Occasionally, we want to refer to groups of cells, as illustrated by the diagram below.&lt;br /&gt;
&lt;br /&gt;
[[Image:PointingPair.png]]&lt;br /&gt;
&lt;br /&gt;
This diagram illustrates the [[Pointing Pair]] technique (click on that link for more). We want to reference both '''r1c8''' and '''r3c8''' (marked yellow), so we can use '''r13c8''' to reference them. Similarly, to say that we are eliminating the digit 4 from both '''r4c8''' and '''r6c8''' (marked red), we can simply write '''r46c8&amp;lt;&amp;gt;4'''.&lt;br /&gt;
&lt;br /&gt;
Similarly, we can write '''r13c24''' when referring to four cells, '''r135c24''' when referring to six cells. These are typically seen when describing [[deadly pattern]]s, such as [[Unique Rectangle]]s.&lt;br /&gt;
&lt;br /&gt;
== Eliminations ==&lt;br /&gt;
&lt;br /&gt;
We use the [[Pointing Pair]] example again to illustrate the problem of communicating in text-based forums.&lt;br /&gt;
&lt;br /&gt;
[[Image:PointingPair.png]]&lt;br /&gt;
&lt;br /&gt;
Usually, a pencilmark grid is used to describe such eliminations. Typically, a &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; is prefixed or appended to the cells in question to indicate the cause of the elimination, and a &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; is prefixed or appended to indicate the cell where the eliminations takes place. The result is shown below.&lt;br /&gt;
&lt;br /&gt;
 .---------------------.---------------------.---------------------.&lt;br /&gt;
 | 2      56789  578   | 34569  345789 456789| 1     *467    679   |&lt;br /&gt;
 | 1      4      57    | 569    2      5679  | 679    8      3     |&lt;br /&gt;
 | 679    6789   3     | 469    1      46789 | 5     *2467   2679  |&lt;br /&gt;
 :--------------------- --------------------- ---------------------:&lt;br /&gt;
 | 3457   12357  2457  | 34569  34589  45689 | 46789 -12467  126789|&lt;br /&gt;
 | 34     123    6     | 7      3489   489   | 489    5      1289  |&lt;br /&gt;
 | 8      57     9     | 2      45     1     | 3     -467    67    |&lt;br /&gt;
 :--------------------- --------------------- ---------------------:&lt;br /&gt;
 | 45679  56789  4578  | 459    4579   3     | 2      167    15678 |&lt;br /&gt;
 | 45679  5679   1     | 8      4579   2     | 67     3      567   |&lt;br /&gt;
 | 357    23578  2578  | 1      6      57    | 78     9      4     |&lt;br /&gt;
 '---------------------'---------------------'---------------------'&lt;br /&gt;
&lt;br /&gt;
In this example, the logic behind the eliminations involves only a single digit, the digit 4. Thus some people choose to communicate the same message by showing only the cells with 4 as a candidate, like the one shown below. This kind of grid tend to be much easier to read than the grid showing the entire pencilmarks.&lt;br /&gt;
&lt;br /&gt;
 .---------.----------.----------.&lt;br /&gt;
 | .  .  . |  4  4  4 |  . *4  . |&lt;br /&gt;
 | .  .  . |  .  .  . |  .  .  . |&lt;br /&gt;
 | .  .  . |  4  .  4 |  . *4  . |&lt;br /&gt;
 :--------- ---------- ----------:&lt;br /&gt;
 | 4  .  4 |  4  4  4 |  4 -4  . |&lt;br /&gt;
 | 4  .  . |  .  4  4 |  4  .  . |&lt;br /&gt;
 | .  .  . |  .  4  . |  . -4  . |&lt;br /&gt;
 :--------- ---------- ----------:&lt;br /&gt;
 | 4  .  4 |  4  4  . |  .  .  . |&lt;br /&gt;
 | 4  .  . |  .  4  . |  .  .  . |&lt;br /&gt;
 | .  .  . |  .  .  . |  .  .  . |&lt;br /&gt;
 '---------'----------'----------'&lt;br /&gt;
&lt;br /&gt;
''Note: Beginning Sudoku players may choose to skip the remainder of this section.''&lt;br /&gt;
&lt;br /&gt;
In more advanced techniques such as [[Uniqueness Test]]s and [[Bivalue Universal Grave]]s, more elaborate markings may be used. The following example comes from [[Uniqueness Test]].&lt;br /&gt;
&lt;br /&gt;
[[Image:URStrongLink.png]]&lt;br /&gt;
&lt;br /&gt;
In such techniques, the &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; is used to indicate that the candidates after the &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; sign are ''surplus'' candidates. Also, sometimes the &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; sign is not merely prefixed or appended, but placed in the middle of the candidates. In this case, all candidates after the &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; sign are eliminated. The [[Unique Rectangle]] causing the elimination is marked with &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 .---------------.---------------.---------------.&lt;br /&gt;
 | 6    9    3   | 7    4    8   | 25   25   1   |&lt;br /&gt;
 | 1    4    5   | 69   2    3   | 69   7    8   |&lt;br /&gt;
 | 7    2    8   | 1    5    69  | 3    69   4   |&lt;br /&gt;
 :--------------- --------------- ---------------:&lt;br /&gt;
 | 35   1357 6   | 389  178  2   | 589  4    579 |&lt;br /&gt;
 | 4    13-7 9   | 368  1678 5   | 268  268  27  |&lt;br /&gt;
 | 8    57   2   | 469  679  469 | 1    569  3   |&lt;br /&gt;
 :--------------- --------------- ---------------:&lt;br /&gt;
 | 2    58   1   | 459  89   49  | 7    3    6   |&lt;br /&gt;
 |*59   568  4   | 568  3    7   | 2589 1   *59+2|&lt;br /&gt;
 |*59 3 3568 7   | 2    68   1   | 4    589 *59  |&lt;br /&gt;
 '---------------'---------------'---------------'&lt;br /&gt;
&lt;br /&gt;
For more complex techniques where the &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; symbol is not sufficient to indicate the cause of the eliminations, or when illustrating multiple techniques causing multiple eliminations in a single diagram, other symbols such as &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;@&amp;lt;/code&amp;gt; can be used.&lt;br /&gt;
&lt;br /&gt;
== Single-digit Concept Diagrams ==&lt;br /&gt;
&lt;br /&gt;
A number of solving techniques perform elimination based on the [[pattern]]s for a particular digit, and hence called [[single-digit]] techniques. In order to highlight the concept without getting lost in the large number of candidates in a typical grid, the digit is usually generically referred to as '''X''', and the community has also developed a kind of concept diagram. In such a diagram, each cell contains a symbol:&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt;&lt;br /&gt;
:: The digit '''X''' is a candidate in this cell. (It does not matter what other candidates this cell contains.)&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt;&lt;br /&gt;
:: The digit '''X''' is not a candidate in this cell.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;.&amp;lt;/code&amp;gt; or no symbol&lt;br /&gt;
:: It does not matter whether this cell contains '''X''' as a candidate.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt;&lt;br /&gt;
:: '''X''' can be eliminated from this cell.&lt;br /&gt;
&lt;br /&gt;
Note that in such diagrams, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; have different meanings from those seen in the pencilmark grid elimination diagrams. An example below:&lt;br /&gt;
&lt;br /&gt;
 .-------.-------.-------.&lt;br /&gt;
 | X X X | * * * | * * * |&lt;br /&gt;
 | - - - |       |       |&lt;br /&gt;
 | - - - |       |       |&lt;br /&gt;
 :------- ------- -------:&lt;br /&gt;
 |       |       |       |&lt;br /&gt;
 |       |       |       |&lt;br /&gt;
 |       |       |       |&lt;br /&gt;
 :------- ------- -------:&lt;br /&gt;
 |       |       |       |&lt;br /&gt;
 |       |       |       |&lt;br /&gt;
 |       |       |       |&lt;br /&gt;
 '-------'-------'-------'&lt;br /&gt;
&lt;br /&gt;
This is the [[Pointing Triple]] technique, and it says that if the candidates for '''X''' in a box is confined to a row, then '''X''' can be eliminated from the cells in the row that are not in the box. (The logic is exactly the same with [[Pointing Pair]].)&lt;br /&gt;
&lt;br /&gt;
Some people choose to show such concept diagrams using an arbitrary digit instead of the symbol '''X'''. Usually, the digit 1 is used.&lt;br /&gt;
&lt;br /&gt;
The [[fish]]-related techniques is a large class of single-digit techniques. Such single-digit concept diagrams have been further specialized to [[Project:Fish diagram|fish diagrams]], by introducing a special symbol &amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt; for [[fin]]s.&lt;br /&gt;
&lt;br /&gt;
== Multiple-digit Concept Diagrams ==&lt;br /&gt;
&lt;br /&gt;
Such single-digit diagrams have been extended for multiple digits, but with an important difference. A cell may now contain multiple digits, but the semantics may mean that either the cell contains exactly these candidates as indicated, or the candidates of the cell is a subset of the indicated digits. Also, the eliminations may be for one or more digits, this will be stated in the accompanying description. For example:&lt;br /&gt;
&lt;br /&gt;
 .-------------.-------------.-------------.&lt;br /&gt;
 | XYZ XYZ XYZ | *   *   *   | *   *   *   |&lt;br /&gt;
 | *   *   *   | .   .   .   | .   .   .   |&lt;br /&gt;
 | *   *   *   | .   .   .   | .   .   .   |&lt;br /&gt;
 :------------- ------------- -------------:&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 :------------- ------------- -------------:&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 '-------------'-------------'-------------'&lt;br /&gt;
&lt;br /&gt;
This diagram illustrates the [[Naked Triple]] technique. It means that if we can find a [[boxrow]] such that the candidates of each cell of the boxrow is a subset of '''{X, Y, Z}''', then we can eliminate '''X''', '''Y''' and '''Z''' from the remainder of the row and the box containing the boxrow.&lt;br /&gt;
&lt;br /&gt;
Another example:&lt;br /&gt;
&lt;br /&gt;
 .-------------.-------------.-------------.&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 | .   XY  .   | .   XZ  .   | .   .   .   |&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 :------------- ------------- -------------:&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 | .   YZ  .   | .   *   .   | .   .   .   |&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 :------------- ------------- -------------:&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 | .   .   .   | .   .   .   | .   .   .   |&lt;br /&gt;
 '-------------'-------------'-------------'&lt;br /&gt;
&lt;br /&gt;
This is the [[XY-Wing]] technique, and the elimination is only for '''Z'''. Here, the three cells should contain exactly '''{X, Y}''', '''{X, Z}''' and '''{Y, Z}''' as their respective candidates in order for this technique to be meaningful.&lt;br /&gt;
&lt;br /&gt;
== Chains and Loops ==&lt;br /&gt;
&lt;br /&gt;
''Note: Beginning Sudoku players may choose to skip this section.''&lt;br /&gt;
&lt;br /&gt;
[[Chain]]s and [[loop]]s are used in advanced solving techniques, and these have a set of notations. See the following articles for more information:&lt;br /&gt;
* [[Forcing Chain]]&lt;br /&gt;
* [[Nice Loop]]&lt;br /&gt;
* [[Eureka]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Terminology]]&lt;br /&gt;
* [[Solving techniques]]&lt;/div&gt;</summary>
		<author><name>Rooted</name></author>
		
	</entry>
</feed>