The possible digits are:
5, 6, 7, 8 and
9. Let's mark the case when the locker code begins with a prime number as
A and the case when <span>the locker code is an odd number as
B. We have
5 different digits in total,
2 of which are prime (
5 and
7).
First propability:
</span>

<span>
By knowing that digits don't repeat we can say that code is an odd number in case it ends with
5, 7 or
9 (three of five digits).
Second probability:
</span>

is an irrational number i.e. it cannot be written in the form of

where p and q are integers and q is never equal to 0.
By multiples of

, we can write like:
1

=

= 3.14
2

= 2*3.14 = 6.28
3

= 3*3.14 = 9.42
In the same way, any integer n when multiplied by

, is a multiple of
Okay so you add up all the exponents and the coefficients