The decimal equivalent of a binary number 1001110 is:
78
Add the positional values of the nonzero bits:
\((1001110)_2=2^6+2^3+2^2+2^1=64+8+4+2=78\)
If 1 is added to each odd digit and 2 is subtracted from each even digit in the number 8317456, what will be the sum of the digits that are second from the left and second from the right?