How many Tsumezan puzzles can be made in all? Rather than guessing, we counted them with a program that checks puzzles by the same rules as the Tsumezan app.

What We Counted

A Tsumezan puzzle is made of a set of goals, a set of number tiles, and a set of sign tiles. We counted these three things:

  • Tile sets: combinations of number tiles (1 to 9, with any number of the same digit) and sign tiles (+ − × ÷, with any number of the same sign). The number of signs is always “the number of numbers − the number of goals.”
  • Solvable puzzles: tile sets paired with a set of goals from 0 to 99 that have at least one answer that follows the rules.
  • Unique-answer puzzles: among those, the ones with exactly one answer. Only these can be used as Tsumezan puzzles.

The rules are the same as in How to Play. There are no parentheses, × and ÷ come before + and −, ÷ only works when it divides evenly, and nothing may go below zero, along the way or at the end. When counting answers, equations that only swap the order of addition or multiplication, like 4 + 6 and 6 + 4, count as the same answer. And when two goals are the same number, which equation goes in which row doesn’t make a different answer either.

How We Counted

We took the tile sets one at a time and tried every way to split the tiles into as many equations as there are goals, and every way to order each equation. To calculate equations and decide whether two equations are the same, we used the checks from tsumezan-core, the program that serves as the official source of the app’s rules, without changes. We also took 680 puzzles from the app, counted them again, and confirmed that every one was judged to have exactly one answer.

For formats with up to 6 numbers, we counted every tile set. Formats with 7 or 8 numbers have so many tile sets that counting them all would take far too long, so we picked 1,200 to 20,000 tile sets at random, counted those, and estimated the total. Numbers marked “about” in the table are estimates, with a sampling error of a few percent up to about 10%.

Results

In the table, “Solvable” is the number of puzzles that have an answer, and “Unique” is the number of puzzles with exactly one answer.

GoalsNumbersTile setsSolvableUnique
131,6501,9561,274
149,90020,3016,834
1545,045176,41228,485
16168,168about 1.28 millionabout 110,000
236601,3501,278
244,95025,54118,842
2525,740364,242184,645
26105,1054,160,7021,294,542
27360,360about 38.3 millionabout 6.7 million
281,081,080about 270 millionabout 28 million
341,9806,6306,318
3512,870161,076126,306
3660,0602,870,8141,681,851
37225,225about 39.9 millionabout 16.1 million
38720,720about 420 millionabout 110 million
455,14824,09023,118
4630,030691,973559,359
47128,700about 14.5 millionabout 9.2 million
48450,450about 230 millionabout 110 million

All together, there are about 280 million puzzles with exactly one answer. Even if you solved one a day, you couldn’t finish them in a lifetime.

What We Found

The more goals, the more likely a puzzle has exactly one answer. With 1 goal and 3 numbers, about 65% of the solvable puzzles have exactly one answer, but with 4 goals and 5 numbers it’s about 96%. More goals add more conditions on which tiles go into which equation, so other answers are harder to make work.

With 1 goal, adding numbers makes a single answer less likely. With 1 goal, the share drops from about 65% with 3 numbers to about 34% with 4, about 16% with 5, and about 9% with 6. More tiles mean more ways to arrange them, so it’s easier to find a different equation that reaches the same goal.

Few tile sets, but lots of puzzles. With 1 goal and 3 numbers, there are only 1,650 tile sets. There are 165 ways to choose 3 numbers from 1 to 9 (the same number is OK) and 10 ways to choose 2 signs from + − × ÷, and 165 × 10 = 1,650. But from a single tile set, you can make many puzzles by changing the goal.

The 100,000 Puzzles in the App

The Tsumezan app contains 100,000 puzzles that have been checked to have exactly one answer. Next to the numbers in the table above, that’s just a tiny fraction.

From the puzzles with exactly one answer, the app picks puzzles using conditions like these:

  • The answer doesn’t include a one-number equation (a row where you just place one number tile equal to the goal).
  • At most one goal of 0 or 1 per puzzle.
  • Puzzles are scored on how they feel to solve, and the high scorers are picked, while making sure the answers don’t all have similar shapes.

Some formats, like the 1,278 puzzles with 2 goals and 3 numbers in the table, have exactly one answer but are full of one-number equations, so they aren’t much of a game. Not every puzzle we counted is a good puzzle.

How would these numbers change if you changed the rules? Our estimates for adding signs or using two-digit tiles are in Extending the Tsumezan Rules. With small formats, you can also check by writing everything out by hand. If you’d like to make this a school research project, see Math Puzzles for a School Research Project.