A number is chosen at random from to . What is the probability that it is a perfect square or a multiple of ?
- A
- B
- C
- D
Solution & Step-by-step Explanation
Total numbers from to , .
Let be the set of perfect squares from to :
The perfect squares are (since and ).
So, .
Let be the set of multiples of from to :
So, .
Let be the set of numbers that are both perfect squares and multiples of .
For a perfect square to be a multiple of , it must be a multiple of in its base, meaning it must be a multiple of .
Perfect squares that are multiples of up to are:
()
()
(The next one is )
So, .
By the principle of inclusion-exclusion, the total number of favorable outcomes is:
The required probability is:
Let be the set of perfect squares from to :
The perfect squares are (since and ).
So, .
Let be the set of multiples of from to :
So, .
Let be the set of numbers that are both perfect squares and multiples of .
For a perfect square to be a multiple of , it must be a multiple of in its base, meaning it must be a multiple of .
Perfect squares that are multiples of up to are:
()
()
(The next one is )
So, .
By the principle of inclusion-exclusion, the total number of favorable outcomes is:
The required probability is: