Skip to content
Official PYQ · 1995

GATE CS 1995 Q25b — Sets, Relations and Functions

Explain with AI
Determine the number of positive integers (≤720)(\leq 720) which are not divisible by any of 2,32,3 or 5.5.
View worked solution

Answer: 192

We need to find the number of positive integers less than or equal to 720720 that are not divisible by 22, 33, or 55.

Since 720=24×32×51720 = 2^4 \times 3^2 \times 5^1, its prime factors are exactly 22, 33, and 55. Therefore, any integer x≤720x \le 720 is not divisible by 22, 33, or 55 if and only if it is coprime to 720720.

This can be directly calculated using Euler's totient function ϕ(n)\phi(n):

ϕ(720)=720×(1−12)×(1−13)×(1−15)\phi(720) = 720 \times \left(1 - \frac{1}{2}\right) \times \left(1 - \frac{1}{3}\right) \times \left(1 - \frac{1}{5}\right)ϕ(720)=720×12×23×45=720×415=192\phi(720) = 720 \times \frac{1}{2} \times \frac{2}{3} \times \frac{4}{5} = 720 \times \frac{4}{15} = 192

Thus, there are 192 such integers.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Sets, Relations and Functions questions