Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/iii/paper-160/4/b/solution

Add the base- expansions of and column by column. Before carrying, the sum of all displayed digits is . Each carry removes units from one column and adds one unit to the next, decreasing the total digit sum by . After all carries the digits are those of , so the subadditivity of the base-p digit sum gives

New to topics? Read the docs here!