The number of ways of selecting one card from Ashok's bag and other from Shilpa bag
=40c1×5c1=200 Now, if the card taken from Shilpa's bag shows 1, then 1 will divide all the numbers on Ashok's card. Hence, the number of ways
=40 If the card taken from Shilpa's bag shows 2, then the remainder will be either 0 or 1. Hence, the number of ways
=40 If the card taken from Shilpa's bag shows 3, then the remainder will be 0, 1 or 2. Hence, the number of ways
=40If the card taken from Shilpa's bag shows 4, then the remainder will be 0, 1, 2 or 3. So the numbers having 3 as remainder will be rejected.
So the number of form
4n+3 will be rejected.
Total number of such numbers
=+1=10 If the card taken from Shilpa's bag shows 5, then the remainder will be 0, 1, 2, 3 or 4. So the numbers having 3 or 4 as remainder will be rejected
So the number of form
5n+3,5n+4 will be rejected.
Total number of such terms
=+1=10 The total numbers having
5n+3 form
=+1=8 The total numbers having
5n+4 form
=+1=8 The numbers left
=40−8−8=24 Hence, the probability
===0.87