Solution Explanation (Short Version):
Placing weights so that the two pans balance means we can split our chosen weights into two groups whose total masses are equal. In terms of logarithms,
So we need to choose a subset of{2,3,…,20}{2,3,\dots,20}{2,3,…,20}whose product can be split into two equal parts.
Equivalently, in terms of prime factors, a subset of numbers has the property∏(A)=∏(B)\prod(A) = \prod(B)∏(A)=∏(B)if and only if thetotalexponent of each prime (in all chosen numbers) is even (so that half the exponent can go to one side and half to the other).
A convenient way to check the “evenness of exponents” is to workmod2\bmod,2mod2. For eachn∈{2,3,…,20}n\in{2,3,\dots,20}n∈{2,3,…,20}, write down the exponents of its prime factors modulo 2. For instance,
2=212 = 2^12=21contributes(1,0,0,0,…)(1,0,0,0,\dots)(1,0,0,0,…)(since it has exponent 1 of the prime 2, and exponent 0 of the others),
4=224 = 2^24=22contributes(0,0,0,0,…)(0,0,0,0,\dots)(0,0,0,0,…)because222^ exponent 2, which is0mod20\bmod20mod2,
6=21⋅316 = 2^1\cdot 3^16=21⋅31contributes(1,1,0,0,…,…),
and so on.
2=212 = 2^12=21contributes(1,0,0,0,…)(1,0,0,0,\dots)(1,0,0,0,…)(since it has exponent 1 of the prime 2, and exponent 0 of the others),
4=224 = 2^24=22contributes(0,0,0,0,…)(0,0,0,0,\dots)(0,0,0,0,…)because222^ exponent 2, which is0mod20\bmod20mod2,
6=21⋅316 = 2^1\cdot 3^16=21⋅31contributes(1,1,0,0,…,…),
and so on.
You then look for the largest subset of{2,…,20}{2,\dots,20}{2,…,20}whose combined “vector sum”mod2\bmod,2mod2is the zero vector.
A key observation is that the numbers 11, 13, 17, 19 each introduce a “new” prime factor (11, 13, 17, or 19) that appears nowhere else. Including any one of them makes an odd exponent of that prime—impossible to balance unless there is another copy of the same prime factor. Since we only have one of each, none of11,13,17,1911,13,17,1911,13,17,19can appear in a balanced subset.
It turns outallof the other 15 numbers
can be combined while keeping every prime’s total exponent even. Indeed, if you add up their exponent-parity vectors, they cancel to the zero vector. Therefore,15is the maximum number of weights you can place on the scale so that it balances.
Answer:15\boxed{15}15.
If You’d Like a Bit More Detail
Translate to prime-factor parity.A two-pan balance is level when∑w∈Leftln(w)=∑w∈Rightln(w)⟺∏Leftw=∏Rightw.\sum_{w \in \text{Left}} \ln(w) ;=; \sum_{w \in \text{Right}} \ln(w)
\quad\Longleftrightarrow\quad
\prod_{\text{Left}} w ;=; \prod_{\text{Right}} w.w∈Left∑ln(w)=w∈Right∑ln(w)⟺Left∏w=Right∏w.For a chosen subsetS⊆{2,3,…,20}S\subseteq{2,3,\dots,20}S⊆{2,3,…,20}, the product of numbers inSSScan be split into two equal halves if and only ifeveryprime’s total exponent in that product is even.
Check which primes appear.The primes up to 20 are2,3,5,7,11,13,17,192,3,5,7,11,13,17,192,3,5,7,11,13,17,19.Notice11,13,17,1911,13,17,1911,13,17,19appear only once, namely in 11, 13, 17, 19 themselves.Hence if you include 11 (for example), you have an odd exponent of prime 11. There is no second factor of 11 anywhere else, so the total exponent of 11 cannot be made even.Conclusion: The weights11,13,17,1911,13,17,1911,13,17,19cannot be included in a balanced subset.
Notice11,13,17,1911,13,17,1911,13,17,19appear only once, namely in 11, 13, 17, 19 themselves.
Hence if you include 11 (for example), you have an odd exponent of prime 11. There is no second factor of 11 anywhere else, so the total exponent of 11 cannot be made even.
Conclusion: The weights11,13,17,1911,13,17,1911,13,17,19cannot be included in a balanced subset.
All the rest actually work together.That leaves the 15 weights2,3,4,5,6,7,8,9,10,12,14,15,16,18,20.2,3,4,5,6,7,8,9,10,12,14,15,16,18,20.2,3,4,5,6,7,8,9,10,12,14,15,16,18,20.One can verify—by summing exponents mod 2 or directly checking—that these 15collectivelyhave an even exponent of every prime. Hence they can be placed on the scale and partitioned so the product on each side is the same.
Translate to prime-factor parity.A two-pan balance is level when
For a chosen subsetS⊆{2,3,…,20}S\subseteq{2,3,\dots,20}S⊆{2,3,…,20}, the product of numbers inSSScan be split into two equal halves if and only ifeveryprime’s total exponent in that product is even.
Check which primes appear.The primes up to 20 are2,3,5,7,11,13,17,192,3,5,7,11,13,17,192,3,5,7,11,13,17,19.
Notice11,13,17,1911,13,17,1911,13,17,19appear only once, namely in 11, 13, 17, 19 themselves.
Hence if you include 11 (for example), you have an odd exponent of prime 11. There is no second factor of 11 anywhere else, so the total exponent of 11 cannot be made even.
Conclusion: The weights11,13,17,1911,13,17,1911,13,17,19cannot be included in a balanced subset.
Notice11,13,17,1911,13,17,1911,13,17,19appear only once, namely in 11, 13, 17, 19 themselves.
Hence if you include 11 (for example), you have an odd exponent of prime 11. There is no second factor of 11 anywhere else, so the total exponent of 11 cannot be made even.
Conclusion: The weights11,13,17,1911,13,17,1911,13,17,19cannot be included in a balanced subset.
All the rest actually work together.That leaves the 15 weights
One can verify—by summing exponents mod 2 or directly checking—that these 15collectivelyhave an even exponent of every prime. Hence they can be placed on the scale and partitioned so the product on each side is the same.
Therefore, themaximum numberof weights on the scale (and still have it balance) is