2023 AIME II Problem 5
Problem 5 of 15EasierNumber TheoryArithmeticProblem-Solving Techniques
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 the elements of can be expressed in the form where and are relatively prime positive integers. Find
Your answer
Integer from 0 to 999
Show solution
Solution
Write in lowest terms and let Then in lowest terms is (no further cancellation is possible since and is squarefree). The condition is If this forces impossible; if it forces impossible.
If gives so Since we need and so (indeed from ). If gives so forcing and (with from ).
Hence and the sum is already in lowest terms. The answer is
Tagged: fraction · greatest common divisor · casework