Problem 2:
A base ten number is a string of five digits, where the digits are from the
set {1.... 9} but the rst digit cannot be 0 (so 52375 is a valid number
but 02323 and 2323 are not).
(a) How many five-digit base ten numbers are there?
(b) How many five-digit numbers have no two consecutive digits equal?
(c) How many have at least one pair of consecutive digits equal?