Unique Rectangle

Difficulty Hard

Four cells in two rows, two columns, and two boxes can form a Unique Rectangle. If they held only the same two digits, swapping the diagonals would give another solution. A puzzle with one solution needs an extra digit in at least one corner.

Check the four corners and their boxes

Start with a classic puzzle known to have one solution. Find four empty corners in two rows, two columns, and exactly two boxes. Look for the same two candidates in all four.

If the corners use only those digits, each diagonal holds one digit. Swapping the diagonals preserves both rows, both columns, and both boxes. At least one corner must use a different digit.

Type 1 with extras in one corner

  • Uniqueness Test 1

If three corners allow only the pair, the fourth must use an extra digit. Remove both digits of the pair from that corner.

Type 2 with the same extra on adjacent corners

  • Uniqueness Test 2

If two adjacent corners have the same single extra digit, one of them must use it. The other two corners must have only the pair. Remove the extra digit from any other cell that sees both possible places.

Type 3 with a subset of extra digits

  • Uniqueness Test 3

Two adjacent corners can have several extras. Together they need at least one of them. Count those corners as one slot in a house they share.

Add other cells in that house. If the different extras and those cells’ candidates match the number of slots, those digits fill the slots. Remove them elsewhere in the house.

Type 4 with a strong link on one side

  • Uniqueness Test 4

Suppose the two corners with extras are the only places in their shared house for one digit of the pair. One of those corners must use it. If the other uses the second digit, the four corners can swap. Remove the second digit from both corners with extras.

Type 5 with the same extra across the diagonals

  • Uniqueness Test 5

Look for the same single extra digit in two opposite corners or in three corners. If all other candidates belong to the pair, at least one corner must use the extra. Remove it from any other cell that sees every possible copy.

Type 6 with one digit locked to a diagonal

  • Uniqueness Test 6

Two opposite corners have extras. Look for one digit of the pair confined to the rectangle in both rows and both columns. That digit must fill a diagonal.

If it fills the diagonal with extras, the opposite corners must use the other digit. The swap is then possible. Remove the linked digit from the corners with extras.

Hidden Rectangle

Start at a corner with only the pair. At the opposite corner, find a digit confined to the rectangle in both its row and its column. Filling that corner with the other digit forces the swap. Remove that other digit there.

Avoidable rectangles

An avoidable rectangle can include digits you placed after the puzzle began. All four corners must have started empty. With three filled corners, remove the candidate that completes the swap.

With two filled corners and the same single extra in both empty corners, one of the extras must be true. Remove it from other cells that see both.

When earlier moves removed candidates

Earlier moves can remove a rectangle digit from your notes. For this version, use the givens to check that both swapped fillings are possible in all four corners.

Examples

Example 1

Example 1 ready.

R1C8, R1C9, R5C8, and R5C9 form a rectangle in two boxes. If all four corners use only 2 and 9, swapping those digits gives a second solution.

Only R5C8 has an extra candidate. If you place either digit from the pair there, swapping the digits in the four corners gives a second solution.

  • Remove 2 from R5C8.
  • Remove 9 from R5C8.
Pattern candidateExtra candidate

Trainer

Difficulty Hard

Walkthrough

Use Pencil mode to remove a candidate.

See also

Some example positions come from HoDoKu regression library.