GATE CS 2014 · Set 2 · Counting (Permutations & Combinations)

NAT · 2 marks · Problem EM-CPRB-0055

The probability that a given positive integer lying between 1 and 100 (both inclusive) is NOT divisible by 2, 3 or 5 is .

Numerical answer (NAT).

Solve it on GATE DA practice →More Combinatorics & Basic Probability problems

Show the worked solutionBy inclusion–exclusion, the count of \(1\le n\le100\) divisible by 2, 3 or 5 is\[50+33+20-16-10-6+3=74.\]So \(100-74=26\) numbers are divisible by none, and the probability is \(0.26\).Answer: 0.26

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com