MathDB
2023 Fall Speed p5

Source:

December 23, 2023
2023FAlLspeednt

Problem Statement

Let aa and bb be two-digit positive integers. Find the greatest possible value of a+ba+b, given that the greatest common factor of aa and bb is 66.
Proposed by Jacob Xu
Solution. 186\boxed{186} We can write our two numbers as 6x6x and 6y6y. Notice that xx and yy must be relatively prime. Since 6x6x and 6y6y are two digit numbers, we just need to check values of xx and yy from 22 through 1616 such that xx and yy are relatively prime. We maximize the sum when x=15x = 15 and y=16y = 16, since consecutive numbers are always relatively prime. So the sum is 6(15+16)=1866 \cdot (15+16) = \boxed{186}.