2014 AIME I Problem 3
Problem 3 of 15EasierNumber TheoryArithmetic
Find the number of rational numbers such that when is written as a fraction in lowest terms, the numerator and the denominator have a sum of
Your answer
Integer from 0 to 999
Show solution
Solution
Write in lowest terms with since we need Because the fraction is in lowest terms exactly when is coprime to
There are integers in coprime to and they pair up as (note is not coprime to ), so exactly of them are less than The answer is
Tagged: Euler’s Totient Function · greatest common divisor · fraction