Number theoryDifficulty 5.0AIME, harderFind the answer
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. Spacing and $ signs are ignored.
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: Omni-MATH,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.