Maths Olympiad Prep

Library / /1 of 1394

Number theory Difficulty 4.5 AIME Find the answer United States

Problem:
Define ϕ!(n)\phi^{!}(n) as the product of all positive integers less than or equal to nn and relatively prime to nn. Compute the remainder when
2n50gcd(n,50)=1ϕ!(n) \sum_{\substack{2 \leq n \leq 50 \\ \operatorname{gcd}(n, 50)=1}} \phi^{!}(n)
is divided by 5050.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:
First, ϕ!(n)\phi^{!}(n) is even for all odd nn, so it vanishes modulo 22.

To compute the remainder modulo 2525, we first evaluate ϕ!(3)+ϕ!(7)+ϕ!(9)2+54+5312\phi^{!}(3) + \phi^{!}(7) + \phi^{!}(9) \equiv 2 + 5 \cdot 4 + 5 \cdot 3 \equiv 12 (mod25) (\bmod 25) . Now, for n11n \geq 11 the contribution modulo 2525 vanishes as long as 5n5 \nmid n.

We conclude the answer is 1212.

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.