Balanced Ternary Representation
Summary: Euler’s theorem (§330–§331): every integer — positive, negative, or zero — has a unique representation as with digits . The proof mirrors the binary case: the formal Laurent product has every coefficient equal to at every power of , positive or negative. Application: weighing on a two-pan balance with weights pounds.
Sources: chapter16
Last updated: 2026-05-11
Statement
Equivalently, every integer has a unique representation
(Source: chapter16, §331.)
Euler’s proof (§331)
Let
The product is a formal Laurent series — both positive and negative powers of appear because of the terms.
Substituting for drops the factor:
The left side is
Hence
after multiplying the three-term factor through. Comparing with the original expansion of term by term:
All coefficients (positive and negative powers) equal . Therefore
Combinatorial interpretation
Expanding as a sum over choices of one of three terms from each factor:
The coefficient of is the number of sequences with . Euler’s identity says this count is always — every integer has a unique balanced-ternary representation.
Application: weighing with ternary weights on a two-pan balance (§330)
A set of weights pounds suffices to weigh any whole number of pounds on a two-pan balance: each weight goes either on the opposite pan from the goods (digit ), on the same pan as the goods (digit ), or off the scale (digit ). Euler’s examples (§330):
With weights (, total ), any integer up to can be weighed — a much faster growth than binary’s . Six ternary weights (, total ) reach ; six binary weights reach only .
Comparison to binary (§329 vs §331)
| Binary | Balanced ternary | |
|---|---|---|
| Identity | ||
| Digits | ||
| Range with weights | to | to |
| Physical | one-pan scale | two-pan scale |
Modern reading
The trick — make a symmetric digit set so that the product covers all integers, not just non-negative ones — is exactly the modern notion of balanced ternary (also called signed-digit ternary). It is used in some digital-arithmetic algorithms (Booth multiplier, non-adjacent form for elliptic-curve scalar multiplication) precisely because the symmetric digit set eliminates the need for a separate sign bit. Euler’s two pages (§330–§331) are the earliest known appearance of the system.