Number theoryDifficulty 4.5AIMEFind the answerUnited States
Problem: Define ϕ!(n) as the product of all positive integers less than or equal to n and relatively prime to n. Compute the remainder when 2≤n≤50gcd(n,50)=1∑ϕ!(n) is divided by 50.
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
Solution: First, ϕ!(n) is even for all odd n, so it vanishes modulo 2.
To compute the remainder modulo 25, we first evaluate ϕ!(3)+ϕ!(7)+ϕ!(9)≡2+5⋅4+5⋅3≡12(mod25). Now, for n≥11 the contribution modulo 25 vanishes as long as 5∤n.
We conclude the answer is 12.
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: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.