Maths Olympiad Prep

Library / /155 of 841

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. Fractions can be typed as 3/2, and spacing doesn't matter.

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 φ(n)\varphi(n) be the number of integers less than n 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 φ(2001)=φ(323\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 reproduced verbatim; metadata (topic, difficulty) added by this project.