Problem:
Compute the sum of all positive integers for which there exist integers and such that and are both multiples of .
Problem:
Compute the sum of all positive integers for which there exist integers and such that and are both multiples of .
Solution:
Assume and exist. Considering the two values modulo , we find
Subtracting twice the second equation from the first, we get . So, we have . Therefore we must either have or .
Moreover, both and yield solutions with and , depending on the value of . Thus the answer is .