P And C

How many ordered pairs of positive integers ( p , q ) (p,q) are there such that

lcm ( p , q ) = 2 2 × 3 4 × 5 2 ? \text{lcm} (p,q) = 2^2 \times 3^4 \times 5^2?


The answer is 225.

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

Kartik Sharma
Nov 8, 2014

First of all, LCM is the product of the primes with the highest power among two numbers. For example, if

p = a 1 α 1 a 2 α 2 a 3 α 3 . . . . . . . p = {{a}_{1}}^{{\alpha}_{1}} {{a}_{2}}^{{\alpha}_{2}} {{a}_{3}}^{{\alpha}_{3}}.......

q = a 1 β 1 a 2 β 2 a 3 β 3 . . . . . . q = {{a}_{1}}^{{\beta}_{1}} {{a}_{2}}^{{\beta}_{2}} {{a}_{3}}^{{\beta}_{3}}......

and if α 1 > β 1 , α 2 > β 2 , . . . . . {\alpha}_{1}>{\beta}_{1}, {\alpha}_{2}>{\beta}_{2},.....

Then, L C M ( p , q ) = a 1 α 1 a 2 α 2 a 3 α 3 . . . . . . . LCM(p,q) = {{a}_{1}}^{{\alpha}_{1}} {{a}_{2}}^{{\alpha}_{2}} {{a}_{3}}^{{\alpha}_{3}}.......

Case 1 - For getting 2 2 {2}^{2} either p is a multiple of 2 2 {2}^{2} or q

When p is a multiple of 2 2 {2}^{2} , then q can be a multiple of 2 0 , 2 1 , 2 2 {2}^{0}, {2}^{1}, {2}^{2}

When q is a multiple of 2 2 {2}^{2} , then p can be a multiple of 2 0 , 2 1 , 2 2 {2}^{0}, {2}^{1}, {2}^{2}

So, there are 6 pairs for getting 2 2 {2}^{2} as a factor of LCM(p,q). But ( 2 2 , 2 2 ) = ( 2 2 , 2 2 ) ({2}^{2},{2}^{2}) = ({2}^{2},{2}^{2}) , hence there are 6 1 = 5 6-1 = 5 ordered pairs.

Similarly Case 2 and Case 3 can be solved as well yielding the answers as 9 and 5 respectively.

Now using the Law of Multiplication, there are 5 9 5 = 225 5*9*5 = 225 ordered pairs.

I've updated the phrasing of this question for clarity. Can you update your solution accordingly? Thanks!

Calvin Lin Staff - 6 years, 7 months ago

Great question!!!!

A Former Brilliant Member - 4 years, 3 months ago
Heyang Sheng
Nov 9, 2014

p,q must be in the form r a t b s c { r }^{ a }{ t }^{ b }{ s }^{ c }

where a=0,1,2 b=0,1,2,3,4 c=0,1,2

Let's write the powers of factors of p and q in a table form: r t s p a p b p c p q a q b q c q \begin{matrix} & r & t & s \\ p & a_{p} & b_{p} & c_{p} \\ q & a_{q} & b_{q} & c_{q}\end{matrix}

Consider factor r across p and q, ie. row r a p a q \begin{matrix} r \\ a_{p} \\ a_{q}\end{matrix}

No. of combinations without constrain = 3 × 3 = 9 =3 \times 3=9

However at least one of a p a_{p} and a q a_{q} has to be 2 to obtain LCM r 2 r^{2}

No. of combinations if none of a p a_{p} and a q a_{q} equals to 2 = 2 × 2 = 4 = 2\times 2 = 4

∴ No. of actual combinations of r = 9 4 = 5 = 9 - 4 = 5

Similar for factor t and s, we have:

No. of actual combinations of t = 5 2 4 2 = 9 = 5^{2} - 4^{2} = 9

No. of actual combinations of s = 3 2 2 2 = 5 = 3^{2} - 2^{2} = 5

Hence, No. of ordered pair (p,q) = 5 × 9 × 5 = 225 = 5 \times 9 \times 5 = 225

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...