The slide-rule collection

The Balance

The oldest computer that compares. Put weights on the pans until the needle stands straight, and the choice of weights turns out to be a choice of number system.

Weigh it

from 1 to 40

Press a weight to move it: off, then the far pan, then (with the ternary set) the pan with the object.

Two answers to one question

The question. Bachet (1612) asked for the fewest weights that weigh every whole number of pounds from 1 to 40. Fibonacci had posed a version of it in 1202.

One pan: binary. If weights may only go opposite the object, each is in or out, and 1, 2, 4, 8, 16, 32 reach 63, every number once: that is writing n in base two.

Either pan: balanced ternary. If a weight may also sit with the object, each is +1, 0 or −1 times itself, and 1, 3, 9, 27 reach 40 = (81 − 1)/2. That is writing n in base three with digits −1, 0, 1, a system with no separate sign and where rounding is truncating. The Soviet Setun computer (1958) worked in it.

The slide rule's cousin. The balance adds by putting things on pans; subtracting is putting them on the other side. The ternary answer is the abacus's complement rule in a third form: 2 = 3 − 1.