Maths Olympiad Prep

Library / /151 of 860

Number theory Difficulty 4.9 AIME Find the answer

How many integers between 1 and 2000 inclusive share no common factors with 2001?

A number or a short expression. Spacing and $ signs are ignored.

Solution

Two integers are said to be relatively prime if they share no common factors, that is if there is no integer greater than 1 that divides evenly into both of them. Note that 1 is relatively prime to all integers. Let \varphi(n)bethenumberofintegerslessthan be the number of integers less than nthatarerelativelyprimeto that are relatively prime to n.Sinceφ(mn)=φ(m)φ(n). Since \varphi(m n)=\varphi(m) \varphi(n) for mm and nn relatively prime, we have \varphi(2001)=\varphi(3 \cdot 23 \cdot 29)=(3-1)(23-1)(29-1)=1232$.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.