Futoshiki is a Japanese logic puzzle on a square grid, usually 5x5. You fill the grid with the numbers 1 to 5 so that each row and each column holds every number once. Between some neighbouring cells sits a greater-than or less-than sign, and the two numbers must obey it. The sign always points at the smaller number. There are no 3x3 boxes and no arithmetic: rows, columns and signs are the whole puzzle.
The rules of futoshiki
- On an NxN grid, use the numbers 1 to N. A 5x5 uses 1 to 5, a 7x7 uses 1 to 7.
- Each row and each column holds each number exactly once.
- Every sign between two cells must hold: in a < b the left cell is smaller, and a ∧ between two cells in a column means the top cell is smaller.
- Some puzzles give a few starting numbers. Others, like the one below, give only signs.
The name means "inequality", and the puzzle is also sold as More or Less. It was developed by Tamaki Seto in 2001 (Wikipedia). Cells on this page are named by row and column: r2c3 means row 2, column 3.
What an inequality chain tells you
A single sign only rules out the extremes: the smaller cell cannot be 5 and the larger cannot be 1. Signs that link up into a chain do much more. If four cells in a row climb, as in r1c1 < r1c2 < r1c3 < r1c4, each one needs room for the cells above and below it:
- r1c1 has three larger cells above it, so it is at most 2.
- r1c2 is at least 2 and at most 3.
- r1c3 is at least 3 and at most 4.
- r1c4 has three smaller cells below it, so it is at least 4.
The rule on a 5x5: a cell with k cells below it in a chain is at least k + 1, and a cell with k cells above it is at most 5 − k. A chain does not have to run in a straight line. It can turn a corner from a row into a column, because each sign only compares two neighbours.
A 5x5 futoshiki solved step by step
This puzzle has no starting numbers, only ten signs, and exactly one solution. The full solve follows.
- Read the three chains. Row 1 has the four-cell chain from above, so r1c1 is 1 or 2, r1c2 is 2 or 3, r1c3 is 3 or 4 and r1c4 is 4 or 5. A second four-cell chain bends round a corner: r3c3 < r3c2 < r2c2 < r2c3. It gives the same ranges: r3c3 is 1 or 2, r3c2 is 2 or 3, r2c2 is 3 or 4, r2c3 is 4 or 5. The third chain, r4c4 < r4c5 < r5c5, has three cells: r4c4 is 1 to 3, r4c5 is 2 to 4, r5c5 is 3 to 5.
- The 1 in column 2. r1c2, r2c2 and r3c2 cannot be 1 because of their ranges, and r5c2 is larger than r5c3. Only r4c2 is left, so r4c2 is 1.
- The 5 in column 2. None of r1c2, r2c2 and r3c2 can be 5, and r4c2 is now 1. So r5c2 is 5.
- Column 2 closes the second chain. The three cells left in column 2 need 2, 3 and 4. r1c2 and r3c2 can only be 2 or 3, so they take those two, and r2c2 is 4. Then r2c3, which is larger than r2c2, is 5.
- Row 4 pushes the third chain up. Row 4 has its 1 in r4c2, so r4c4 is at least 2. That makes r4c5 at least 3 and r5c5 at least 4. Row 5 already has its 5 in r5c2, so r5c5 is 4. Then r4c5 is below 4 and at least 3, so it is 3, and r4c4 is 2.
- Finish row 4. Row 4 has 1, 2 and 3, so r4c1 and r4c3 are 4 and 5. Column 3 already has its 5 in r2c3, so r4c3 is 4 and r4c1 is 5.
- Column 3 settles the first chain. r1c3 was 3 or 4, and column 3 now has its 4, so r1c3 is 3. That leaves r1c2 = 2 and r1c1 = 1. In column 2, r3c2 takes the last number, 3.
- Finish row 1. r1c4 and r1c5 need 4 and 5. Column 5 has its 4 in r5c5, so r1c5 is 5 and r1c4 is 4.
- Row 3 from two columns. Column 1 still needs a 4, and rows 2 and 5 already have one, so it goes in r3c1. Column 4 still needs a 5, and rows 2 and 5 already have one, so r3c4 is 5. Row 3 now has 4, 3 and 5, so r3c3 and r3c5 are 1 and 2. r3c5 is larger than r2c5, so it cannot be 1: r3c5 is 2 and r3c3 is 1.
- The last six cells. Column 3 leaves 2 for r5c3, and column 5 leaves 1 for r2c5. Row 2 then needs 2 and 3 in r2c1 and r2c4. Column 4 has its 2 in r4c4, so r2c4 is 3 and r2c1 is 2. Row 5 finishes with r5c1 = 3 and r5c4 = 1.
How row and column uniqueness narrows a chain
The signs give each cell a range. The rule that a number appears once per row and column then picks the number inside that range. The solve above uses it in three ways:
- Only one place left. In steps 2 and 3, the ranges in column 2 left one cell for the 1 and one for the 5.
- A pair fills two numbers. In step 4, two cells of column 2 could only be 2 or 3, so no other cell in that column could take them.
- A placed number pushes a whole chain. In step 5, the 1 in row 4 raised the bottom of a chain, and the 5 in row 5 capped the top. Both ends moved, so all three cells were fixed.
A good order on any futoshiki: write the range of every chained cell first, then look in each row and column for a 1 or a 5 that fits in only one cell.
Futoshiki and greater-than sudoku
Futoshiki has no boxes, and its signs can sit between any two neighbouring cells. Greater-than sudoku puts the same kind of sign on a full 9x9 sudoku with 3x3 boxes; it is explained in greater than sudoku rules and how to solve.
Where to play futoshiki
- Unequal, in Simon Tatham's Portable Puzzle Collection: the futoshiki rules in a free browser game, with a second mode, Adjacent, that uses bars for consecutive numbers.
- BrainBashers Daily Futoshiki: a daily puzzle in sizes from 4x4 up to 9x9.
- Puzzle Madness Futoshiki: a daily puzzle at easy, medium and hard, with an archive.
Sudoku Royale does not have futoshiki.
Frequently Asked Questions
What are the rules of futoshiki?
Fill an NxN grid with the numbers 1 to N so that each row and each column holds every number once. Signs between some neighbouring cells say which of the two is larger, and every sign must hold. The sign points at the smaller number.
How do you play futoshiki?
Start with chains of signs: a cell with k cells below it in a chain is at least k + 1, and one with k cells above it is at most N − k. Then look in each row and column for a number that fits in only one cell, and place it.
Is futoshiki the same as sudoku?
No. Futoshiki has the row and column rule but no 3x3 boxes, usually runs on a 5x5 or 7x7 grid, and uses inequality signs as clues. Greater-than sudoku is the 9x9 sudoku version with signs.
Can a futoshiki have no starting numbers?
Yes. The 5x5 puzzle on this page has only ten signs and no numbers, and it still has exactly one solution.
What does futoshiki mean?
Futoshiki is Japanese for inequality. The puzzle is also published as More or Less.