Question 5
Number theory BDMO 2024 National
The largest integer that divides two integers is called their GCD. Again, the smallest integer that is divisible by two integers is called their LCM. We call two integer friends if the sum of their GCD and LCM is equal to the sum of those two integers. You have some integers all of which are friends with 961 and smaller than 961. What is the largest integer you can have?