Maths Olympiad Prep

Library / /70 of 128

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 agcd(a,b)ba \leq \operatorname{gcd}(a, b) \leq b and alcm(a,b)ba \leq \operatorname{lcm}(a, b) \leq b?

Solution

Solution:

gcd(a,b)agcd(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,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.