A number theory problem by Dominick Hing

Express the number 45 in binary code. Your answer should be expressed in base 2.


The answer is 101101.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Tushar Malik
Aug 12, 2014

45/2=22 and 1 is left remainder, then 22/2=11 and 0 is left as the remainder. Keep doing this and at the last the answer will be read from downwards to upwards i.e. 101101

Arun Ar
Aug 11, 2014

factorize 45 using 2 and collect the remainders in the reverse order will give binary form of 45

101101 = 2^5 + 0 + 2^3 + 2^2 + 0 + 2^0

            = 45

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...