using numbers 0-9 ( 10 numbers for each digit)
1st digit can't be 2 so it can be 10-1 = 9 other digits
2nd, 3rd and 4th digits can be 1 of 10 digits each
5th digit must be odd do it can be 1, 3, 5, 7, 9 ( 1 of 5 digits)
so number of different codes would be 9 x 10 x 10 x 10 x 5 = 45,000 different codes