Skip to content
Thinking Games
EN
Numbers

Numbers in Order: how to solve a Latin square puzzle

A Latin square is a grid in which every row and every column contains each number exactly once. The puzzle gives you some numbers and asks for the rest. It is the idea underneath sudoku, without the boxes, and two short deductions are enough to solve it. This guide explains both, and when to use each.

The rules, as the app states them

Fill the grid without repeating a number.

  1. Tap a square, then tap a number. Tap the same number again to remove it.
  2. Every row and every column must contain each number exactly once. Wooden numbers are fixed.
  3. Use Notes to pencil in the numbers you are still considering.

What a Latin square is

The name comes from Leonhard Euler, who studied these arrangements in the eighteenth century and filled them with Latin letters instead of numbers. A Latin square of size 4 uses the numbers 1 to 4, one of size 6 the numbers 1 to 6, and what is in the squares could just as well be letters or colours: only "no repeats in a line" matters.

Sudoku is a 9×9 Latin square with one more rule, that each 3×3 box also holds every number once. Take the boxes away and you have this puzzle. With less to check, each number you place depends on exactly two things, its row and its column, and that makes the Latin square the clearest place to learn the reasoning that sudoku and its relatives build on.

The rules in detail

The grid has N rows and N columns and uses the numbers 1 to N.

  • Every row contains each number exactly once.
  • Every column contains each number exactly once.
  • The numbers given at the start are fixed.

There is no rule about diagonals, about neighbours or about sums. Two equal numbers may touch at a corner; they just cannot share a row or a column.

In Numbers in Order the fixed numbers are the wooden ones. Tap a square and then a number to place it, and tap the same number again to remove it. With Notes switched on, the numbers you tap are pencilled into the square as candidates. Erase empties it. The level is solved when the grid is full and no number repeats in any row or column, and every level has exactly one way to get there.

Where to start: the fullest lines

Look for the row or column with the fewest empty squares. A line with one gap is immediate: the missing number goes there. A line with two gaps needs one more look, at what the two crossing lines already contain.

It also pays to look at the number that appears most often on the board. If the 3 is already in three rows of a 4×4, there is only one row left for the last 3, and usually only one column.

The techniques, and why they work

1. The only option for the square

Pick an empty square and list what its row and its column already contain. Whatever is left is what the square may hold. If only one number is left, it goes there. In a 4×4, a square whose row has a 2 and whose column has a 1 and a 3 can only be 4.

This is the deduction to try first, and the easier levels need nothing else.

2. The only place for the number

Now turn the question round. Instead of asking what a square can hold, ask where a number can go. Every row needs a 3. If, in one row, every empty square but one has a 3 in its column, the 3 of that row goes in the remaining square, even if that square still seems to admit other numbers.

It is easy to miss because the square itself gives no sign. You find it by following one number across the board, row by row and then column by column.

3. Notes that do the remembering

On a 5×5 or 6×6 you cannot keep every candidate in your head. Pencil in the options of the squares that have two or three. When you place a number, the app removes that number from the notes in its row and its column, so a square left with a single note is technique 1 waiting for you, and a number noted in a single square of a line is technique 2.

4. Pairs that lock two numbers

If two squares of a row can only hold the same two numbers, those two numbers will end up in those two squares, in one order or the other. No other square of the row can have them. The levels of the app never require this step, but it saves time on the largest grids.

A 4×4 example, square by square

The starting grid: five numbers given.
32
2
1
3
  1. Row 4, column 4. Column 4 has a 2 and a 1, and row 4 has a 3. Only the 4 is left.
  2. Row 2, column 4. Column 4 now holds 2, 1 and 4. The missing number is 3.
  3. The 3 of row 3. Row 3 has no 3 yet. Column 2 has a 3 (row 4), column 3 has one (row 1), and column 4 is taken. The only place is column 1: 3. The square alone would also have admitted a 4, so this is technique 2.
  4. Column 1. It has 2 and 3. In row 4 there are already a 3 and a 4, so row 4, column 1 is 1, and the top square of the column is 4.
  5. Rows 1 and 4. Row 1 reads 4, blank, 3, 2: the blank is 1. Row 4 reads 1, 3, blank, 4: the blank is 2.
  6. Column 3. It has 3 and 2 and needs 1 and 4. Row 3 already has a 1, so row 3, column 3 is 4 and row 2, column 3 is 1.
  7. Column 2. Row 2 reads 2, blank, 1, 3: the blank is 4. The last square, row 3, column 2, is 2.
The finished grid. The five starting numbers are the marked ones.
4132
2413
3241
1324

Step 3 is the one to remember. At that point no empty square of row 3 had a single option on its own. What settled it was asking where the 3 could go.

Common mistakes

  • Checking the row and forgetting the column. A number can be new in its row and repeated two squares above.
  • Placing a number that "does not repeat". Not repeating is necessary, not sufficient. A number that clashes with nothing can still leave another square with no option. Place it when the alternatives are ruled out.
  • Using only technique 1. When no square has a single option, the puzzle is not asking you to guess. It is asking the other question: where can this number go?
  • Stale notes. If you write notes by hand on paper, cross out candidates each time you place a number. A note that should have gone will send you wrong.
  • Looking for boxes. Sudoku habits do not apply. There are no blocks here, so two equal numbers may sit close together as long as they are in different rows and columns.

How the difficulty grows in the app

Numbers in Order has 120 levels. The two tutorials are 3×3. Easy levels are 4×4, starting with about eight numbers given and going down to five, and the last ones move to 5×5. Medium levels are 5×5 with fewer and fewer given numbers, and they end with the first 6×6 grids. Hard levels are sparse 5×5 grids and 6×6 grids with only around thirteen of their thirty-six numbers given.

The other change is the reasoning. Up to the first medium levels, "the only option for the square" is always enough. The 5×5 levels of the second half of medium, and every hard level, are chosen so that at some point it is not, and you need "the only place for the number".

The hints name the same two deductions and highlight the square together with its row or column. They also tell you when two squares repeat a number, or when a number that repeats nothing has left the grid with no way to finish. If you like grids ruled by rows and columns, Lonely Stars adds regions to them and Hidden Picture turns them into a drawing.

Frequently asked questions

What is the difference between a Latin square and a sudoku?

A sudoku is a Latin square with an extra rule. Both forbid repeats in rows and columns; sudoku also forbids them inside each box. A Latin square puzzle has no boxes, so it can be any size, such as 4×4, 5×5 or 6×6.

How do you solve a Latin square puzzle?

Alternate two questions. For a square: which numbers are not yet in its row or its column? If one, place it. For a number: in which squares of this row or column can it still go? If one, place it. Repeat until the grid is full.

Do you have to guess?

No. In Thinking Games a program solves every level before it ships using only those two deductions, and every level has a single solution.

Why is it called a Latin square?

Because Euler, who studied these grids in the eighteenth century, wrote them with letters of the Latin alphabet. The name stayed even when the squares are filled with numbers.

More games in the collection