edited by
844 views
2 votes
2 votes
Consider a standard balance with two pans where weights can only be placed on the left pan, and the object to be weighed on the right pan. Find the minimum number of weights required to weigh any object whose weight in grams could be any integer ranging from $1$ to $127$. Give precise argument in favor of your answer.
edited by

1 Answer

0 votes
0 votes
Any number between 1 to 127 can be represented using 7 bits in binary.

Therefore we need 7 numbers to represent the weight of the 7 bits.

The numbers are : 2^0 = 1,  2^1 = 2,  2^2 = 4,  2^3 = 8,  2^4 = 16,  2^5 = 32,  2^6 = 64.

Ans: 7 numbers required at minimum.

Related questions

0 votes
0 votes
0 answers
1
admin asked Aug 8, 2022
289 views
Consider three real numbers $a \geq b \geq c>0$. If $\left(a^{x}-b^{x}-c^{x}\right)(x-2)>0$ for any rational number $x \neq 2$, show that$a, b$ and $c$ can be the lengths...
0 votes
0 votes
0 answers
4
admin asked Aug 8, 2022
157 views
Let $p$ be an odd prime and let $n=(p-1)(p+1)$.Show that $p$ divides $n 2^{n}+1$.Show that there are infinitely many integers $m$ such that $p$ divides $m 2^{m}+1$.