Calcudoku solving techniques

Calcudoku rewards you for thinking about cages as sets of digits rather than sums or products. This guide walks through the four tiers of reasoning our solver uses, all shown on a single 7x7 expert puzzle.

Play Calcudoku How to play Calcudoku

Tier 1 solves easy grids: single cells, cages with one possible set, and singles in rows and columns. Tier 2 lets cages and lines trim each other. Tier 3 adds whole-line arithmetic, and Tier 4 is a contradiction test. In the diagrams, small digits are candidates, red struck digits are the ones a step removes, and the shaded cells are the cage or line being used. Cells are named by row and column, so R2C1 is row 2, column 1.

Figure 1. The 7x7 puzzle used in this guide. Cages use all four operations.2÷11+4−433−60×42×84×30×18+15+420+15+5−12+42×12345671234567
Figure 1. The 7x7 puzzle used in this guide. Cages use all four operations.

Tier 1 Fixed sets and singles

Used from Easy up

Start with cages whose target can be made from only one set of digits. Products are especially revealing because they factor: on a 7x7 grid, a 42× cage of four cells in one straight line, where no digit can repeat, has to be 1 × 2 × 3 × 7, since 42 = 2 × 3 × 7 and the fourth cell can only contribute a 1. (A bent cage could also be 1, 1, 6 and 7, with the two 1s in different rows and columns.) Every other candidate leaves those cells.

Figure 2. The 42× cage across the bottom row must be 1, 2, 3 and 7. The digits 4, 5 and 6 are struck from its cells.2÷11+4−433−60×42×84×30×18+15+420+15+5−12+42×4341234567123567123456712356712345671234567
Figure 2. The 42× cage across the bottom row must be 1, 2, 3 and 7. The digits 4, 5 and 6 are struck from its cells. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

The other Tier 1 moves are the familiar ones: a single-cell cage is its target, a cell with one candidate left takes it, a digit with only one possible place in a row or column goes there, and the last empty cell of a cage is found by arithmetic.

Tier 2 Cages and lines trimming each other

Needed from Medium up

Cage combinations. List the ways a cage can be filled using only the candidates its cells still have. Digits that never appear in any working filling are removed. Two-cell ÷ and − cages respond especially well, because each digit has at most two partners.

Figure 3. The 2÷ cage in column 1 can only be 1 and 2, 2 and 4, or 3 and 6. Row 1 already has 3 and 4, so R1C1 is 1, 2 or 6, and R2C1 must be 1, 2, 3 or 4.2÷11+4−433−60×42×84×30×18+15+420+15+5−12+42×12567431234567412345671234567
Figure 3. The 2÷ cage in column 1 can only be 1 and 2, 2 and 4, or 3 and 6. Row 1 already has 3 and 4, so R1C1 is 1, 2 or 6, and R2C1 must be 1, 2, 3 or 4. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Locked digits. If every filling of a cage puts a certain digit in the same row or column, that line’s copy of the digit is inside the cage, and the digit can be removed from the rest of the line. In the bottom row, the 42× cage holds 1, 2, 3 and 7 no matter how it is arranged, so the other three cells of row 7 cannot use those digits.

Figure 4. Row 7’s 42× cage uses 1, 2, 3 and 7, so R7C1, R7C6 and R7C7 are left with 4, 5 and 6.2÷11+4−433−60×42×84×30×18+15+420+15+5−12+42×43412345671237123712371237124567123456712345671234567
Figure 4. Row 7’s 42× cage uses 1, 2, 3 and 7, so R7C1, R7C6 and R7C7 are left with 4, 5 and 6. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Tier 3 Line totals and parity

Needed from Hard up

Every row and column of an N x N grid adds up to 1 + 2 + … + N, which is 28 on a 7x7 grid. When cages fit neatly inside a line, subtract their sums from the total to learn what the remaining cells must add up to. The same idea works with parity: if you know whether the other cells’ total is odd or even, you know whether the last cell is odd or even. Pairs work as in sudoku too: two cells of a line with the same two candidates use up those digits.

Figure 5. Column 1 totals 28 and its lower four cells form the 18+ cage, so R1C1 + R2C1 + R3C1 = 10. That rules out 4 in R2C1 and 2 and 4 in R3C1.2÷11+4−433−60×42×84×30×18+15+420+15+5−12+42×1264312342346712356741234567123456745612345671234567
Figure 5. Column 1 totals 28 and its lower four cells form the 18+ cage, so R1C1 + R2C1 + R3C1 = 10. That rules out 4 in R2C1 and 2 and 4 in R3C1. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Check the eliminations against the 2÷ cage at the top of the column, whose possible pairs here (1 and 2, 2 and 4, or 3 and 6) add to 3, 6 or 9. If R2C1 were 4, R1C1 would be 2 and R3C1 would have to be 4 again, a repeat in the column. If R3C1 were 2, the cage would have to add to 8, which no pair does. If R3C1 were 4, the cage would need 6, which means 2 and 4, repeating the 4. The same pair sums would also rule out 3 and 6 for R3C1 (the cage would need 7 or 4); this step records only the eliminations shown, and the solver removes the rest a few steps later, when it places 7 in R3C1.

Tier 4 Testing a digit

Expert only

When the cages and lines are all consistent, test a candidate. Place it on scratch paper, or in your head, and follow the Tier 1 and Tier 2 consequences. If some cell runs out of candidates or some cage can no longer reach its target, the candidate is impossible.

Figure 6. Testing 1 in R2C6 leads to a contradiction, so 1 is removed from R2C6.2÷11+4−433−60×42×84×30×18+15+420+15+5−12+42×121256712561256431256712123461235612345613671672345724623612456123561261235635612356741235671235612561235634561234567235671234567235671267126734561234567123567123456712356724567123456123712371237123745645612345671234567
Figure 6. Testing 1 in R2C6 leads to a contradiction, so 1 is removed from R2C6. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

The first consequences come quickly. With 1 in R2C6, the 42× cage needs the other two cells to multiply to 42, which with the remaining candidates means R2C5 = 7 and R3C6 = 6. Row 2 loses its 1, so R2C1 becomes 2 and the 2÷ cage puts 1 in R1C1. Following these placements through rows 1 to 4 eventually leaves a cell with no candidate, so the solver removes the 1. Tests like this are only needed on Expert puzzles, and a good one is usually a cell that sits in a small cage and a crowded line at the same time.

A solving routine

  1. Fill single cells and pencil in cages with one possible set (Tier 1).
  2. For each cage, keep only candidates that appear in some valid filling; look for digits a cage locks into a line (Tier 2).
  3. Use line totals of 1 + 2 + … + N and parity where cages fit inside a line (Tier 3).
  4. Test a two-candidate cell in a small cage (Tier 4).

Try Medium puzzles to meet × and ÷ cages, then Hard and Expert. New to the puzzle? Start with the Calcudoku rules and walkthrough.

Keep going