Futoshiki Generator
Generate a futoshiki Latin square with inequality signs and a proved single solution.
What this page makes
Builds a 4×4 to 7×7 futoshiki: a Latin square with < and > signs between neighbouring cells and a handful of givens, proved to have one solution.
How to use it
Choose the size and difficulty, then press Generate. A number is a given; a < or > between two cells means the left (or upper) value is smaller (or larger). Fill the empty cells so every row and column holds 1 to N once and every sign is true.
Worked example: 5×5, medium difficulty, seed futoshiki-demo becomes a grid with 9 givens and 28 signs, one proved solution.
What it proves
A Latin square is filled, every adjacent inequality that is true of it is recorded, then givens and signs are removed one at a time. A removal is kept only while the solver still counts exactly one solution. The solver combines row and column masks with the inequality checks at each placement.
What it refuses
A seed that cannot keep a unique solution inside the node budget is refused with the cap named.
Where it runs
The puzzle is generated and solved in this tab: there is no upload, no network request, no stored seed and no model, so nothing you type leaves your device. The same seed and options rebuild the same puzzle exactly.
The rest of the family
The other puzzle generators are listed under Tabletop & Game Tools: killer sudoku, kakuro, KenKen, futoshiki, nonograms, slitherlink, Hashi, word search, crossword, magic squares and buzzword bingo.
Builds a 4×4 to 7×7 futoshiki: a Latin square with < and > signs between neighbouring cells and a handful of givens, proved to have one solution.
A Latin square is filled, every adjacent inequality that is true of it is recorded, then givens and signs are removed one at a time. A removal is kept only while the solver still counts exactly one solution. The solver combines row and column masks with the inequality checks at each placement. Every puzzle is generated, solved or checked in this tab: there is no upload, no network request, no stored seed and no model, so nothing you type leaves your device.
Worked example: 5×5, medium difficulty, seed futoshiki-demo becomes a grid with 9 givens and 28 signs, one proved solution.
Before the puzzle is shown, the same solver is run over it: the answer, the solution count and the node cap are printed under the board, so the proof is checkable rather than promised.
How to use the futoshiki generator
Choose the size and difficulty, then press Generate. A number is a given; a < or > between two cells means the left (or upper) value is smaller (or larger). Fill the empty cells so every row and column holds 1 to N once and every sign is true.
Every puzzle is generated, solved or checked in this tab: there is no upload, no network request, no stored seed and no model, so nothing you type leaves your device.
- Grid size — one of 4, 5, 6, 7
- Difficulty — one of easy, medium, hard
- Seed (blank draws one) — typed text
What the page proves
Builds a 4×4 to 7×7 futoshiki: a Latin square with < and > signs between neighbouring cells and a handful of givens, proved to have one solution.
A Latin square is filled, every adjacent inequality that is true of it is recorded, then givens and signs are removed one at a time. A removal is kept only while the solver still counts exactly one solution. The solver combines row and column masks with the inequality checks at each placement.
- Domain: 4×4 to 7×7 Latin squares; the page keeps roughly half of the true inequalities and prints the given count.
- The seed is printed with the puzzle and rebuilds it exactly: the same seed and options always produce the same grid.
- A generation that cannot prove its answer inside the stated node cap is refused with the seed kept, rather than printed with an unchecked answer.
What it refuses, and what it leaves out
A seed that cannot keep a unique solution inside the node budget is refused with the cap named.
- Not the right page for: a futoshiki with diagonal constraints
- Not the right page for: a puzzle that needs a specific hand-designed sign set
What to Expect
Best for
- a logic puzzle that needs no arithmetic
- a printable worksheet
- a smaller grid for younger players
Not ideal for
- a futoshiki with diagonal constraints
- a puzzle that needs a specific hand-designed sign set
What this tool keeps
- every printed sign
- the givens that survived removal
- the one-solution proof
What may need cleanup
- printing before opening the answer key
- choosing easy when you want more signs
Common errors
- a sign is never printed unless the solution satisfies it
- two solutions means the seed is refused
Example use cases
- a logic lesson
- a commute puzzle
- a printed puzzle page
Sample input
5×5, medium difficulty, seed futoshiki-demo
Sample output
a grid with 9 givens and 28 signs, one proved solution
Who this is for
- Students
- Teachers
- Logic-puzzle players
Frequently asked questions
Is my data sent anywhere?
Every puzzle is generated, solved or checked in this tab: there is no upload, no network request, no stored seed and no model, so nothing you type leaves your device.
What can I download or print?
Print shows the puzzle and, if you open it, the answer key. Download writes a plain text file with the seed, the facts the page proved and the answer key; both are produced in this tab and neither is uploaded.
Why does the page print a seed?
So a puzzle can be rebuilt exactly. The same seed and the same options give the same puzzle on any machine, because the only randomness is a hash of the seed. Leave the field blank for a fresh one; the seed that was used is written back into the field.
What does a sign between two cells mean?
It compares their values: a < b means the cell on the left (or above) is smaller. The solver checks every sign at every placement, so the printed solution satisfies all of them.
Why does the page keep fewer signs on hard?
Difficulty controls how many signs and givens are removed. Removal is limited by uniqueness, so the facts line reports the counts actually reached rather than a label the grid does not deserve.
Is 1 always in the top-left corner?
No. The givens and signs come from a shuffled Latin square, so the layout changes with the seed. Use the seed field to bring back one you liked.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.