Maths Olympiad Prep

Library / /265 of 520

Number theory Difficulty 6.1 National olympiad Prove it

13. Let m>1,(a,m)=1m>1,(a, m)=1. Prove: The binary linear congruence equation
ax+y0(modm)a x+y \equiv 0(\bmod m)

must have a solution x=x0,y=y0x=x_{0}, y=y_{0}, satisfying 0<x0m,0<y0m0<\left|x_{0}\right| \leqslant \sqrt{m}, 0<\left|y_{0}\right| \leqslant \sqrt{m} (Hint: Use the Pigeonhole Principle).

Solution

13. Consider the set {ax+y:0x[m],0y[m]}\{a x+y: 0 \leqslant x \leqslant[\sqrt{m}], 0 \leqslant y \leqslant[\sqrt{m}]\}, the number of its elements =([m]+1)2>m=([\sqrt{m}]+1)^{2}>m.
Using the pigeonhole principle and (a,m)=1(a, m)=1.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.