The probability that a given positive integer lying between 1 and 100 (both inclusive) is NOT divisible by 2, 3 or 5 is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2014 Set 2 · Q48
Time
Your answerNumerical answer
Solution
Official answer: 0.26 (±0.001) (±0.001)
Probability and StatisticsThe total number of positive integers from to is .
Let be the sets of integers divisible by respectively.
Using the Principle of Inclusion-Exclusion:
Pairwise intersections:
Triple intersection:
The total number of integers divisible by at least one of or is:
Therefore, the number of integers not divisible by or is:
The required probability is:
Try the question first, then check your work.
Examiner trap
Use the Principle of Inclusion-Exclusion to find the count of integers in the range that are divisible by or , then subtract from .
This Probability and Statistics previous year question is Q48 of the GATE CSE 2014 Set 2 paper. Find more GATE CSE PYQs on Probability and Statistics in Engineering Mathematics, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Probability and Statistics PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Probability and Statistics has 46 GATE CSE PYQs across 23 papers from 2011 to 2026. 15 of them are 2-mark NAT questions like this one, and GATE CSE 2014 Set 2 has 3.
How GATE tests Probability and StatisticsIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.