Can you tell whether a binary number is even or odd only by inspecting the digit in the 1s place? is that always possible for an arbitrary base?
if you could, can you explain why or why not?
thanks
It is possible to declare whether a binary number is even or odd by inspecting its first digit, but this first digit must be from the right side.
For example -
Let us take a number (10)10 -> (1010)2
10 is even and the first digit from the right is 0 (0 is also even).
The conclusion is this, if the rightmost first digit is even then it will be even number else odd number.
In any arbitrary base, it is not straightly possible.
Although we can state that for any base if that rightmost first digit is even then the number will be even.
Get Answers For Free
Most questions answered within 1 hours.