2023 AIME II Problems/Problem 5
Let be the set of all positive rational numbers such that when the two numbers and are written as fractions in lowest terms, the sum of the numerator and denominator of one fraction is the same as the sum of the numerator and denominator of the other fraction. The sum of all elements can be expressed in the form , where and are relatively prime positive integers. Find .