Find GCD!

Number Theory Level pending

x x and y y are two positive integers . The greatest common divisor (GCD) and lowest common multiple (LCM) of x 2 y x^{2}y and x y 2 xy^{2} are p p and q q respectively. If p 2 = 27 q p^{2}=27q , then what is the GCD of x x and y y ?


The answer is 3.

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.

1 solution

p 2 = 27 q = 3 2 3 q p^{2}=27q=3^{2}\cdot3q

Since they are all integers, q q must be a multiple of 3: let q = 3 r q = 3r . p p also is a multiple of 3 in that case: let p = 3 t p = 3t .

9 t 2 = 81 r 9t^{2}=81r

=> r = ( t / 3 ) 2 r=(t/3)^{2}

As r r is an integer, t t must be a multiple of 3.

So, let p = 9 a p = 9a and q = 3 a 2 q=3a^{2}

We know that,

Product of two numbers = G C D GCD × \times L C M LCM

x 2 y × x y 2 = p × q x^{2}y \times xy^{2}= p \times q

x 3 y 3 = 27 a 3 x^{3}y^{3}=27a^{3}

x × y = 3 × a x \times y=3 \times a

Since a a can be a prime number or a composite, in general we can say that: G C D GCD ( x , y ) = 3 x, y)=3 and L C M LCM ( x , y ) = a x, y)=a

why must gcd(x,y)=3?

mohammed imran - 9 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...