Rational numbers, sum to 1000
Source: AIME I 2014 #3
March 14, 2014
algorithmEulerfunctionnumber theoryEuclidean algorithmrelatively primetotient function
Problem Statement
Find the number of rational numbers , , such that when is written as a fraction in lowest terms, the numerator and denominator have a sum of .