Let m = (313) 4and n = (322) 4. Find the base 4 expansion of m + n.
(1301) 4
Step 1 – convert and add:
\((313)_4=55,\qquad(322)_4=58,\qquad55+58=113.\)
Step 2 – express the sum in base 4:
\(113=1\cdot4^3+3\cdot4^2+0\cdot4+1=(1301)_4.\)
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?