The way we would answer the question would be to express it as
100-9(n-1) with n being the nth term of the pattern.
Why is this? We know we subtract 9 each time and START from 100.
Remember though that 100 is the first term in the sequence. So, we would have (n-1)*9 to subtract 0 from our 1st term and 9 from our second term.
Also, we have 9*(n-1) because we are just subtracting multiples of 9. It is always going to subtract by 9.
If you needed the answer here it is...
The answer to the problem would be
100-9(13-1)
= 100-9(12)
= 100-108
= -8
3(3+2)=12+3
3*5=15
15=15
He is correct
Considering that it is allowed to repeat the digits in the three-digit code, we have,
10 x 10 x 10 ways
which is equal to 1000 ways.
For the scenario that only even numbers without repetition can be included, we have,
5 x 3 x 1 ways
which is equal to 15 ways.
The probability is therefore 15/1000 or 3/200.