11111
in binary is 0010 1011 0110 0111
. Instead 16 is 0001 0000
. In order to have the same amount in both plates, the binary rapresentation of the weight must be the same:
R: 0010 1011 0110 0111 //We need a 1 in 5th position.
L: 0000 0000 0001 0000
If we add 1
in the R
plate we get 0010 1011 0110 1000
, we then add 8
to get the 1
in 5th position. But then we have to add 2
and 4
in the plates and since the weights are increasing we would degenerate in an incompatible configuration:
Last 4 digits
R: 0000 add 4 or 2 -> 0100 or 0010
L: 0000 will never be possible to reach the 0100 or 0010 configuration (I only have 2 or 4 respectively)
This leads to the only configuration possible:
R: 0010 1011 0111 0011 added 4, 8
L: 0000 0000 0001 0011 added 1, 2, 16
We cleared powers from 0 to 4. The same reasoning applies to the rest of the binary number:
R: 0010 1011 1011 0011 added 64
L: 0000 0000 1011 0011 added 32, 128
R: 0010 1101 1011 0011 added 512
L: 0000 0101 1011 0011 added 256, 1024
R: 0011 0101 1011 0011 added 2048
L: 0011 0101 1011 0011 added 4096, 8192
And we're done. The plates are now in equilibrium and weight:
R = 11111 + 4 + 8 + 64 + 512 + 2048 = 13747
L = 1 + 2 + 16 + 32 + 128 + 256 + 1024 + 4096 + 8192 = 13747
So the first answer is yes.
In case we put the 16 in the right plate, using the same approach:
R: 0010 1011 0111 0111
L: 0000 0000 0000 0000
Now we need to get a 1
in the 5th place in the left plate, but we can't since the only way is via remainder and we don't have a "one" in the left plate. We are in a incompatbile configuration:
R: 0010 1011 0111 0111
L: 0000 0000 0000 1111 we don't have any way to put a 1 in the 5th position
So the answer for the second question is no.