Why our Kakuro grids stop at 7 by 7
The Once Books team · 8 November 2026 · 6 min read
Our sudoku generator goes to 9 by 9. Our Kakuro generator stops at 7 by 7. The reason isn't the solver being slow, as it is with Skyscrapers. It's that a randomly-built Kakuro past a certain size almost never has a single solution, and the way we generate makes that a hard ceiling.
Generate, then verify
Kakuro is built by trial, not by carving. The generator lays out a run structure with a backtracker that keeps every run between two and a capped length, fills the white cells with a legal set of distinct digits, and reads each run's sum off as its clue. That gives a grid that obviously has our fill as a solution. Then it asks the solver the only question that matters: is it the only solution? It keeps the first fill that proves unique, and if a layout never yields one, it tries a new layout.
Uniqueness is the family's count-to-two check: find solutions, stop at the second. A separate reference solver in the tests, written independently of the production one, re-counts solutions on generated grids so a false "unique" can't slip through by the engine agreeing with itself.
Why uniqueness gets rare
Here's the ceiling. A random legal fill of a small Kakuro is often the only way to satisfy its sums, because the runs cross each other so tightly. As the grid grows, the sums get more slack: there are more ways to hit the same totals, so a random fill is more likely to share its clues with a second arrangement. Past 7 by 7, a random fill is almost never unique, and no reasonable number of retries finds one.
We give it a real budget to try: up to 300 layouts, 120 fills each, and a ceiling of 14,000 uniqueness checks per puzzle. Inside that budget, 5 by 5 to 7 by 7 reliably produces unique grids. Beyond it, you'd be rejecting thousands of fills to find one, which is why bigger grids wait on a dedicated constructor that builds uniqueness in rather than rolling for it. There's a lever that helps at these sizes: a mild bias toward black cells, because more black means more crossings and a likelier-unique fill, though too black leaves a trivial puzzle, so the bias is gentle.
Two narrowings per run
The solver is the Latin-grid family's shared core with a Kakuro model plugged in, and the model narrows a run two ways at once, looped to a fixpoint:
- Distinct digits: a digit fixed in a run is removed from the rest of that run. Note it does not assume all of 1 to 9 appear, the mistake that would make the narrowing unsound for Kakuro, since a run is usually shorter than nine cells.
- Sum reachability: a candidate digit stays only if the run's other undecided cells could still make up the remaining total, judged by their min and max. It's sound but not a complete subset-sum solver, so the search branches to cover what the bound misses.
The one puzzle with a two-page how-to
A last detail worth knowing: Kakuro is the only puzzle in our range whose book gets a two-page tutorial, because both the notation and the arithmetic are unfamiliar. The worked example on that page is drawn by the engine's own renderer from a fixed seed, so the example can't drift from what actually prints, and the seed never changes because the example is part of the book's design.
The shared core behind all of this is written up in how we prove a Binairo has one solution. To see a grid come out of the code, the free Kakuro generator runs it in your browser with the solution. For a graded book, the KDP Kakuro maker runs it in a worker, and how to make and sell Kakuro books on KDP covers the rest.
Try the tool
Free, in your browser, no sign-up. Make one, then build the whole book in the studio.
Questions parents ask
- How do you generate a Kakuro with a unique solution?
- Lay out a run structure, fill the white cells with legal distinct digits, read each run's total off as its clue, and keep the grid only if the solver proves those clues have exactly one solution. If not, try another fill or layout.
- Why are Kakuro grids small compared to sudoku?
- Because the generator builds by trial and verification, and a random fill of a large Kakuro is almost never uniquely solvable. Within a sensible work budget, 7 by 7 is about as large as a random grid reliably comes out unique.
- How does a Kakuro solver narrow a run?
- Two ways at once: distinct digits, so a digit fixed in a run leaves the rest of that run, and sum reachability, so a digit stays only if the other cells can still make the remaining total. The sum check is sound but not complete, so the search finishes the proof.
Related reading
How a crossword generator fills a grid
Our crossword maker doesn't fill a black-square skeleton from a dictionary. It lays your words onto an open grid so each one crosses another. Here is how.
How to make and sell Kakuro books on Amazon KDP
A guide to making Kakuro books for Amazon KDP: pick a grid size, generate single-solution cross-sum grids, add a how-to page, and upload a clean interior.
How we check a Kakurasu has one solution
Kakurasu is generated the lazy way: shade a random grid, read off the totals, and keep it only if the solver proves it unique. Why that works, and the pruning.
Keep reading
Answers
One sharply-scoped question per page, cost, safety, timing, printing, answered in a couple of sentences before the detail.
Glossary
Plain definitions of the vocabulary: the Character Sheet, the Consistency Engine, style profiles, drift.
Help centre
Task-shaped instructions for making, printing and sharing a book once you have started one.