In cases like this, the probability of a certain event is given by the ratio between the positive outcomes, and all positive outcomes. There are
numbers in your set. The positive outcomes depend on the request:
There are three multples of four, namely 24,28 and 32. So, the probability of choosing one of them is
![(3)/(15)=(1)/(5)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/xkl83002vde0epwtutijqprmm3y2822aeo.png)
There are three prime numbers, namely 23,29 and 31. So, the probability of choosing one of them is
![(3)/(15)=(1)/(5)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/xkl83002vde0epwtutijqprmm3y2822aeo.png)
The number 18 doesn't belong to the set, so you can't possibly choose it. In other words, there are zero positive outcomes, so the ratio becomes
![(0)/(15) = 0](https://img.qammunity.org/2019/formulas/mathematics/middle-school/b9rh532d6b7ssh3mezeiz9vr6uje20x7or.png)
All of the numbers in the set are whole number, so you are certain that you will chose a whole number. In other words, all 15 possible outcomes are positive outcomes, so the ratio becomes
![(15)/(15) = 1](https://img.qammunity.org/2019/formulas/mathematics/middle-school/v5kxdx4up2x7253y52kp7fji11onk5kb64.png)