Sandwich sudoku keeps every classic rule: each row, column and 3x3 box holds the digits 1 to 9 once. It adds a number outside the grid at the start of each row and column. That number is the sum of the digits that sit between the 1 and the 9 in that row or column. The 1 and the 9 are the bread and are not counted. Neither is anything outside them. Some puzzles give clues for only some lines.
How to read a sandwich clue
Here is one complete row from a solved puzzle, with its clue of 23 on the left. The 9 is in the second cell and the 1 is in the seventh. The four cells between them hold 7, 3, 8 and 5, and 7 + 3 + 8 + 5 = 23.
Three things in that row trip up new players:
- Order does not matter. Here the 9 comes before the 1. The clue is the same whichever end of the sandwich holds which digit.
- The cells outside are not counted. The 6 at the start and the 4 and 2 at the end play no part in the 23. They add up to 12, and that is no accident: a row holds 45 in total, so the cells outside the sandwich always add up to 35 minus the clue (45 − 1 − 9 − 23 = 12).
- A clue of 0 is allowed. It means the 1 and the 9 sit next to each other with nothing between them.
A worked example: two rows
The figure shows part of a sandwich puzzle. Only the clues and givens this example uses are drawn: clue 4 on row 2 and clue 35 on row 7, a 9 in r1c5 (row 1, column 5), a 4 in r2c6 and a 1 in r6c1.
Row 7, clue 35
- The seven digits that can go between a 1 and a 9 are 2 to 8, and 2 + 3 + 4 + 5 + 6 + 7 + 8 = 35. So a clue of 35 needs all seven, and seven cells between them puts the 1 and the 9 at the two ends of the row: r7c1 and r7c9.
- Which end gets which comes from the classic rules. Column 1 already has a 1 in r6c1, so r7c1 cannot be 1. r7c1 is 9 and r7c9 is 1.
Row 2, clue 4
- No pair of different digits from 2 to 8 adds up to 4 (the smallest is 2 + 3 = 5). So the sandwich is a single cell, and that cell is 4.
- Row 2 already has its 4 in r2c6. That 4 is the filling, so the 1 and the 9 sit on either side of it, in r2c5 and r2c7.
- Column 5 has a 9 in r1c5, so r2c5 cannot be 9. r2c5 is 1 and r2c7 is 9.
Both rows follow the same split. The clue says how far apart the 1 and the 9 are, and a digit in a column says which one goes where.
Which clues force how many cells
Only the digits 2 to 8 can sit between a 1 and a 9, so each sandwich size has a smallest and a largest possible clue. Every sum between those two can be made. The fewer places a sandwich fits in a row, the faster it pins down the 1 and the 9.
| Cells between 1 and 9 | Possible clues | Places the pair fits in a row |
|---|---|---|
| 0 | 0 | 8 |
| 1 | 2 to 8 | 7 |
| 2 | 5 to 15 | 6 |
| 3 | 9 to 21 | 5 |
| 4 | 14 to 26 | 4 |
| 5 | 20 to 30 | 3 |
| 6 | 27 to 33 | 2 |
| 7 | 35 | 1 |
Read the other way, from the clue you see to the sandwich sizes it allows:
| Clue | Cells between 1 and 9 |
|---|---|
| 0 | 0 (the 1 and 9 touch) |
| 2 to 4 | 1 (that digit alone) |
| 5 to 8 | 1 or 2 |
| 9 to 13 | 2 or 3 |
| 14 to 15 | 2, 3 or 4 |
| 16 to 19 | 3 or 4 |
| 20 to 21 | 3, 4 or 5 |
| 22 to 26 | 4 or 5 |
| 27 to 30 | 5 or 6 |
| 31 to 33 | 6 |
| 35 | 7 (1 and 9 at the ends) |
Clues of 1 and 34 never appear: a lone 1 cannot be between a 1 and a 9, and no set of 2 to 8 adds up to 34. For a six-cell sandwich, the missing digit is 35 minus the clue. A clue of 33 holds 3, 4, 5, 6, 7 and 8, and the 2 sits outside the sandwich.
How to solve sandwich sudoku
- Start with the clues in the table that allow one size: 0, 2 to 4, 31 to 33 and 35.
- For each, list the places the 1 and 9 pair can go. Strike a place if a cell the 1 or 9 would need already holds another digit, or if that 1 or 9 would repeat one in its column or box.
- Use the columns, rows and boxes to decide which end is the 1 and which is the 9, as in the example.
- Once a row's 1 and 9 are fixed, the clue is a sum over known cells. List the sets of that many digits that make the sum, and strike the ones that use a digit the row already has.
- Large clues also tell you about the outside: with a clue of 30, the cells outside the sandwich add up to 5.
Where to play sandwich sudoku
Our app, Sudoku Royale, does not have sandwich sudoku. Its variants are Classic, Sudoku X, Windoku and Jigsaw. If you also play the classic puzzle that sits under every sandwich, Sudoku Royale on iPhone and iPad is free and has no ads. Other rule sets, including thermo and killer, are covered in our sudoku variants overview.
Frequently Asked Questions
What are the rules of sandwich sudoku?
Classic sudoku rules apply: each row, column and 3x3 box holds 1 to 9 once. A clue outside each row and column gives the sum of the digits between the 1 and the 9 in that line. The 1 and 9 themselves are not counted.
Does it matter whether the 1 or the 9 comes first?
No. The clue only sums the digits between them, so 9 on the left and 1 on the right gives the same clue as the other way round.
What does a sandwich clue of 0 mean?
The 1 and the 9 are in neighbouring cells, so nothing is between them.
What is the largest sandwich clue?
35. It needs all of 2 to 8 between the 1 and the 9, so the 1 and 9 are at the two ends of the line.
Can a sandwich clue be 5?
Yes, and it has two readings: a single cell holding 5, or two cells holding 2 and 3. The rest of the line decides which.
Does Sudoku Royale have sandwich sudoku?
No. Sudoku Royale has Classic, Sudoku X, Windoku and Jigsaw.