Maths Olympiad Prep

Library / Philippine Mathematical Olympiad /64 of 114

Philippine Mathematical Olympiad

Number theory Difficulty 5.4 AIME, harder Prove it Philippines

Problem:

How many pairs of positive integers (a,b)(a, b) are there, both not exceeding 1010, such that a≤gcd⁡(a,b)≤ba \leq \operatorname{gcd}(a, b) \leq b and a≤lcm⁡(a,b)≤ba \leq \operatorname{lcm}(a, b) \leq b?

Solution

Solution:

gcd⁡(a,b)≥a⟹gcd⁡(a,b)=a\operatorname{gcd}(a, b) \geq a \Longrightarrow \operatorname{gcd}(a, b) = a. Likewise, lcm⁡(a,b)=b\operatorname{lcm}(a, b) = b. This can only happen if bb is a multiple of aa. Hence the answer is 10+5+3+2+2+1+1+1+1+1=2710 + 5 + 3 + 2 + 2 + 1 + 1 + 1 + 1 + 1 = 27.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.