Area codes are the first three digits of a 10-digit telephone number. The first digit of an area code cannot be 0 or 1.
a. How many area codes can be created if digits are allowed to be repeated?
b. How many area codes can be created if digits are not allowed to be repeated?