Maths Olympiad Prep

Library / /2 of 10

, 2023

Number theory Difficulty 8.5 Shortlist Prove it China

For positive integers m,nm, n, define
S(m,n)={(a,b)Z21am,1bn,gcd(a,b)=1}. S(m, n) = \{(a, b) \in \mathbb{Z}^2 \mid 1 \le a \le m, 1 \le b \le n, \gcd(a, b) = 1\}.
Prove: for any positive integers d,rd, r, there exist integers m,nm, n not less than dd, such that S(m,n)r(modd)|S(m, n)| \equiv r \pmod{d}. Here, A|A| represents the number of elements in the finite set AA.

Solution

Let n=d+rn = d + r and m=d(d+r)+1m = d \cdot (d+r) + 1. Then, for 1bd+r1 \le b \le d+r, the number of integers in the range 1,2,,m1, 2, \dots, m that are coprime to bb is given by
φ(b)bd(d+r)!+1. \frac{\varphi(b)}{b} \cdot d \cdot (d+r)! + 1.
Note that bb divides (d+r)!(d+r)!, so this number is congruent to 11 modulo bb. Therefore,
S(m,n)b=1d+r1r(modd). |S(m, n)| \equiv \sum_{b=1}^{d+r} 1 \equiv r \pmod{d}.

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 and solution reproduced as published; topic and difficulty added by this site.