What are the rightmost four digits of the binary equivalent of the decimal number 4739685
My approach-
I converted the whole number into its binary equivalent and then checked out the last 4 digits, is there any shorter way to find it directly, I was thinking as in the case of finding last 4 digits in base 10 we do mod 10^4, so is there anything like 2^4 that we can do to find the last 4 digits in this case ? like 4739685 mod 16 ?
With this method, notice that we are obtaining the last digit, then the 2nd last digit, then the 3rd last digit, etc. So, to answer this question, simply do four steps to get the last 4 digits (and remember to reverse it).
– VTand Nov 14 '21 at 13:55