nick1816
A natural number n is such that 120 ≤ n ≤ 240. If HCF of n and 240 is 1, how many values of n are possible?
A. 24
B. 28
C. 32
D. 40
E. 48
HCF of n and 240 is 1 ---> There should be no common factors between 240 and n
240 = \(2^4\)*3*5
So, n should not have any multiples of 2, 3 or 5
Lets calculate the number of multiples of 2,3 & 5 and subtract from total
Number of multiplies of 2 between 120 & 240 = 61
Number of multiplies of 3 between 120 & 240 = 41
Number of multiplies of 5 between 120 & 240 = 25
Multiples common to 2&3, 3&5, 2&5 twice. The same needs to be subtracted
Number of multiplies common to 2&3 i.e 6, between 120 & 240 = 21
Number of multiplies common to 3&5 i.e 15, between 120 & 240 = 9
Number of multiplies common to 2&5 i.e 10, between 120 & 240 = 13
We need to add the multiple of 2&3&5 once as the subtraction of cases 2&3, 3&5, 2&5 from 2, 3 & 5 removes all the cases of 2&3&5.
Number of multiplies common to 2&3&5 i.e 30, between 120 & 240 = 5
Number of multiples of 2, 3 & 5 between 120 & 240, inclusive = 61 + 41 + 25 - 21 - 9 - 13 + 5 = 89
Non multiples = 121 - 89 = 32!!
Hit Kudos if you like my solution