'a' and 'b'

How many positive integers b < 100 b < 100 are there, such that there exists a positive integer a > 20 a > 20 where a b \frac{a}{b} and b a \frac{b}{a} are both positive integers?


The answer is 79.

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

Maximos Stratis
Jun 2, 2017

For both a b \frac{a}{b} and b a \frac{b}{a} to be integers, a must be equal to b. Because if a is not equal to b then: If a > b a>b then a b > 1 \frac{a}{b}>1 and b a < 1 \frac{b}{a}<1 . So they cant both be integers. If a < b a<b by the same logic they cant both be integers. So a = b a=b with a > 20 a>20 and b < 100 b<100 . So, b can take values from 21 to 99. Hence, we have 79 different values of b.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...