Home › Calculators › Proofs › Binary Weights
Opens on Chapter 10’s example: Mabry’s 13 grams on a pan balance, with weights of 1, 2, 4 and 8 grams.
How it works
Largest weight first: use it if it fits, then repeat with what’s left. Each weight is more than all the smaller ones together, so every choice is forced: that is existence and uniqueness at once. For up to 16 weights the tool also lists every choice and shows each total appears once, a complete check.
Tests and proofs. When a tool tries cases, it tells you how many: a test of a million cases is still evidence, not a proof, because it says nothing about the cases it didn’t try. When an answer is proved (a count, a check digit, a complete list of every case, an algebra step that holds for every value), the page says so and why. Numbers can be typed as 1,200, −7, 3/4 or 0.05; formulas as 2^n − 1, n(n + 1)/2, n², C(n, 4) (choices of 4 from n), n! or sum(2k − 1) (the terms for k = 1 to n). Everything stays in your browser: no sign-up, nothing stored or sent.