PUMaC 2009 · 组合(A 组) · 第 2 题
PUMaC 2009 — Combinatorics (Division A) — Problem 2
题目详情
已知某机械天平可以称量1到2009之间的任何整数质量物体。该天平有 个整数质量的砝码。求满足此条件的最小 值。
英文原题
- It is known that a certain mechanical balance can measure any object of integer mass anywhere
between 1 and 2009 (both included). This balance has k weights of integral values. What is
the minimum k for which there exist weights that satisfy this condition?
解析
英文解析
- It is known that a certain mechanical balance can measure any object of integer mass anywhere
between 1 and 2009 (both included). This balance has k weights of integral values. What is
the minimum k that satisfies this condition?
k
Solution. 8. If n <^{3}{2}, then one can weigh an object of weight n with at most k weights, of
weights 1, 3,..., by putting the unit weight on the same side as the object if the last
ternary digit of n is 2, on the other side if it is 1, and ignoring the weight if it is 0; after which
one divides everything by 3 and uses induction. This is also clearly optimal, as one needs at
k
least k weights to weigh the object of weight^{3}{2}^{+1}, so the answer is greater than (2 ∗ 2009),
and one can check that that is about 7. 55, so 8 is the answer.