A computer program randomly selects a single positive integer from the set , where each integer has an equal probability of being chosen. What is the probability that is divisible by either 6 or 9, but not by 4?
Answer: 0.14
Answer
The probability that is divisible by 6 or 9, but not by 4, is (or ).
To calculate the probability, determine the ratio of favorable outcomes to total outcomes (300). First, count integers divisible by 6 (50) or 9 (33). Subtracting the 16 multiples of 18 counted in both yields 67 integers. Next, identify how many of these 67 integers are divisible by 4: there are 25 multiples of 12 and 8 multiples of 36 (all 8 of which are already included in the multiples of 12), resulting in 25 integers divisible by 4. Subtracting 25 from 67 leaves 42 favorable integers. The probability is .
Step-by-Step Solution
Key Concept
Basic Single-Event Probability with Set Inclusion-Exclusion and Number Properties