Problem from BdMO 2021

Let x x and y y be positive integers such that

2 ( x + y ) = lcm ( x , y ) + gcd ( x , y ) 2(x+y)= \text {lcm}(x,y)+\text {gcd}(x,y)

Find lcm ( x , y ) gcd ( x , y ) \dfrac{\text {lcm}(x,y)}{\text {gcd}(x,y)} .


The answer is 15.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Chris Lewis
Apr 12, 2021

Let gcd ( x , y ) = h \text{gcd}(x,y)=h , and let x = x h x=x'h , y = y h y=y'h (note that x x' and y y' share no common factors). Then lcm ( x , y ) = x y h \text{lcm}(x,y)=x'y'h . The quantity we want to find is now x y x'y' and the equation becomes 2 h ( x + y ) = x y h + h x y 2 ( x + y ) + 1 = 0 x y 2 ( x + y ) + 4 = 3 ( x 2 ) ( y 2 ) = 3 \begin{aligned} 2h\left(x'+y'\right)&=x'y'h+h \\ x'y'-2\left(x'+y'\right)+1 &=0 \\ x'y'-2\left(x'+y'\right)+4 &=3 \\ \left(x'-2\right)\left(y'-2\right) &=3 \end{aligned}

The only solution to this in positive integers is ( x , y ) = ( 3 , 5 ) (x',y')=(3,5) (or ( 5 , 3 ) (5,3) ), and it's easy to verify these satisfy the original equation; hence the answer we need is 15 \boxed{15} .

It looks there is a problem to jump to lcm ( x , y ) = x y h \text{lcm}(x,y) = x'y'h .

e.g. h = 5 , x = 9 ( 5 ) , y = 12 ( 5 ) , then lcm ( x , y ) = lcm ( x , y ) × h = 36 × 5 = 180 h=5, x = 9(5), y = 12(5), \text{then lcm}(x,y) = \text{lcm}(x',y')\times h = 36 \times 5 = 180

Pop Wong - 2 months ago

Log in to reply

I think you've misread the solution. h h is the gcd of x x and y y . In the example you wrote, x = 45 x=45 and y = 60 y=60 , whose gcd is 15 15 , not 5 5 . In full, if x = 45 , y = 60 x=45,y=60 , then h = 15 h=15 ; x = 3 x'=3 , y = 4 y'=4 and lcm ( x , y ) = 180 = 3 4 15 = x y h \text{lcm}(x,y)=180=3\cdot 4\cdot 15=x'y'h .

Chris Lewis - 2 months ago

Log in to reply

oh yes, you're right.

Pop Wong - 2 months ago

The problem with your counter-example is that, if x' = 9 and y' = 12, then h (the gcd of x and y) would no longer be 5. Since 9 and 12 share the factor 3 in common, the true gcd should be 15, meaning that x = 3 * 15 (x' = 3) and y = 4 * 15 (y' = 4). Since x' and y' are relatively prime, claiming lcm(x, y) = x' * y' * h is valid. Perhaps it should have been stated in the solution that x' and y' do not share any factors in common in order for the jump to be made.

Alexander McDowell - 1 month, 4 weeks ago

Log in to reply

Thanks, I've now pointed out that x x' and y y' are coprime in the solution (I'd thought that was clear but then, I use this substitution a lot for problems like these).

Chris Lewis - 1 month, 4 weeks ago
Pop Wong
Apr 12, 2021

It is clear that no solution for x = y x = y

L H S = 2 ( x + y ) = 2 ( x + x ) = 4 x LHS = 2 (x + y ) = 2 (x + x ) = 4x

R H S = x + x = 2 x RHS = x + x = 2x

WLOG, assume x < y x < y

L H S = 2 ( x + y ) = 2 x + 2 y < 4 y lcm ( x , y ) = y , 2 y , 3 y LHS = 2 (x+y) = 2x + 2y < 4y \implies \text{lcm}(x,y) =y, 2y, 3y

There is no solution for lcm ( x , y ) = y , 2 y \text{lcm}(x,y) = y , 2y

2 ( x + y ) = lcm ( x , y ) + gcd ( x , y ) 2 x + 2 y lcm ( x , y ) = gcd ( x , y ) gcd ( x , y ) > x contradiction 2(x+y) = \text{lcm}(x,y) + \text{gcd}(x,y) \implies 2x + 2y - \text{lcm}(x,y) = \text{gcd}(x,y) \implies \text{gcd}(x,y) > x \implies \text{contradiction}

For lcm ( x , y ) = 3 y \text{lcm}(x,y) = 3y

2 ( x + y ) = 3 y + gcd ( x , y ) gcd ( x , y ) = 2 x y = a 2(x+y) = 3y + \text{gcd}(x,y) \implies \text{gcd}(x,y) = 2x-y = a

For some integer k 1 < k 2 k_1 < k_2 , let gcd ( x , y ) = 2 x y = a \text{gcd}(x,y) = 2x-y = a

x = k 1 a , y = k 2 a x = k_1 a , y = k_2 a

2 x y = a 2 k 1 k 2 = 1 2x-y=a \implies 2k_1 - k_2 = 1

k 2 = 2 k 1 1 \implies k_2 = 2k_1 - 1

Since k 1 k_1 and k 2 = 2 k 1 1 k_2=2k_1 - 1 are relatively prime,

lcm ( x , y ) = k 1 k 2 a = 3 y = 3 k 2 a k 1 = 3 , k 2 = 5 lcm ( x , y ) = 15 a \text{lcm}(x,y) = k_1 k_2 a =3y= 3 k_2 a \implies k_1 = 3, k_2 = 5 \implies \text{lcm}(x,y) = 15a

lcm ( x , y ) gcd ( x , y ) = 15 a a = 15 \therefore \cfrac{\text{lcm}(x,y)}{\text{gcd}(x,y)} = \cfrac{15a}{a} = \boxed{15}

You can use the \text{lcm} command in latex to get lcm \text{lcm} .

N. Aadhaar Murty - 2 months ago

Log in to reply

Ok, thanks for the advice.

Pop Wong - 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...