Case tool

Mathematician address calculator

Enter the addresses in your case and the announced total, add only the constraints you can support, and compare the matching sets. A matching set stays a possibility; the arrest decision stays yours.

Your case

01 / INPUT

Separate addresses with commas or spaces. Include required and excluded addresses here too.

A whole number, including 0.

Leave blank if unknown. 0 means no addresses are counted.

What you already know

An address left unmarked stays unknown. Only add a constraint you have a reason to trust.

Must be in every candidate set.

Cannot be in a candidate set.

Up to 30 distinct positive addresses (1–1,000,000). Searches stop at 400,000 steps or more than 200 matches. Incomplete searches never establish a unique answer.

02 / POSSIBILITIES

See which sets fit your assumptions.

Enter your addresses and press Find combinations. The worked example has four matching sets.

The calculator checks your assumptions. It cannot tell whether a clue is truthful or decide who to arrest.

Read a result without overreaching

One combination: one set fits these inputs, if the clue and every constraint are true.

Several combinations: keep each one possible. Another independent clue can narrow them.

No combinations: the inputs conflict. Check them before accusing a resident or the clue giver.

Walk through the four-set example