GATE 2014 CS (CS2) – Question 58
Find probability that a positive integer chosen uniformly from 1–100 inclusive is NOT divisible by 2, 3 or 5.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 0.259 to 0.261
Explanation
Inclusion-exclusion counts divisible integers as50+33+20−16−10−6+3=74. The remaining26of100integers are divisible by none. With uniform selection, probability **0.26**. The intersections use divisors6,10,15and30.