When adding together positive integers and , Juku forgot to enter the final digit 7 of the number and got a result of 2022. Had Juku instead forgotten to enter the final digit of , the result would have been 5000. Find the sum of and .
Solution
Let and , where is the final digit of and are the numbers and without their final digits. Then and . From the given information, we compile the system of equations
Subtracting the first equation from the second one, we get the equation
As are integers, is divisible by 9. As the number 2971 gives a remainder of 1 upon division by 9, the number must give a remainder of 8; the only option for this is . Substituting this into (2), we get , which we can substitute into either equation of (1) to get and . Therefore .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.