Quote:
...I would like to know if my method to solve the problem below is also correct. ...
Rather than say no, I would say not quite. That is, given two binary numbers with n matching trailing zeros in a situation like this, you can strip out the trailing zeros if, as indicated by William, you keep track of the additional factor for each number of 2^n (at least 'in your head'). That is, as binary numbers,
100010000 = 2^4 * 10001
and
1000100000 = 2^4 * 100010
Now you can look at the numbers the way you looked at them. Oh, and note the mixed base, the 2^4 is base 10 and the other numbers are binary. Of course you could write it as 10^100 in binary
Actually this works for any base. A number in base a with n trailing zeros following the number b can be written as a^n * b. An 'obvious' example is generally recognized by everyone if a is 10.