TOPICS
Search

Bachet's Weights Problem


Bachet's weights problem asks for the minimum number of weights (which can be placed in either pan of a two-arm balance) required to weigh any integral number of pounds from 1 to 40 (Bachet 1624, p. 215; Steinhaus 1999, p. 52). Bachet's solution is 1, 3, 9, and 27: 1, 2=-1+3, 3, 4=1+3, 5=-1-3+9, 6=-3+9, 7=1-3+9, 8=-1+9, 9, 10=1+9, 11=-1+3+9, 12=3+9, 13=1+3+9, 14=-1-3-9+27, 15=-3-9+27, 16=1-3-9+27, 17=-1-9+27, and so on.

Each weight has three placements, contributing -w, 0, or w to the difference between the pans. With k weights there are at most (3^k-1)/2 distinct positive differences, since reversing the pans pairs each positive difference with a negative one and the all-unused placement gives zero. Three weights therefore give at most 13 positive differences. In balanced ternary, the weights 1, 3, 9, and 27 give every integer from -40 to 40. More generally, if k powers of 3 cover [-M,M] with M=(3^k-1)/2, adding the weight 3^k=2M+1 gives three adjacent intervals of attainable differences, with no gaps. This establishes both coverage and optimality for the 1-to-40 problem (Numberphile 2021, 17:44-19:19).


See also

Ternary, Weighing

Explore with Wolfram|Alpha

References

Bachet, C. G. Problem 5, Appendix in Problèmes plaisants et délectables, 2nd ed. p. 215, 1624.Ball, W. W. R. and Coxeter, H. S. M. Mathematical Recreations and Essays, 13th ed. New York: Dover, pp. 50-52, 1987.Numberphile. "Mathematics Is All About Shortcuts." Featuring M. du Sautoy. Aug. 8, 2021. https://www.youtube.com/watch?v=BdEWCxt8C0M.Steinhaus, H. Mathematical Snapshots, 3rd ed. New York: Dover, 1999.

Cite this as:

Weisstein, Eric W. "Bachet's Weights Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/BachetsWeightsProblem.html

Subject classifications