
Mike D. answered 04/30/21
Effective, patient, empathic, math and science tutor
Codes ending in 0
First 5 digits have 105 possibilities (10 x 10 x 10 x 10 x 10) as 10 possibilities for each digit
Last digit is fixed
So 105 codes ending in 0
For the second.
There are 3 ways we can place the 2018
2018..
.2018.
..2018
For each way there are 102 ways we can choose the other 2 digits
So number of ways = 3 x 102 = 300