Find the number of possible numbers that can have four digits. Easy to represent the four digit number as four dashes, as seen below.
__ __ __ __
The possible numbers for the first digit are 1,2,3,4,5,6,7,8, and 9. So 9 digits.
The possible numbers for the second, third, and fourth digits are 0,1,2,3,4,5,6,7,8, and 9. So 10 digits.
9 possibilities *
10 possibilities *
10 possibilities *
10 possibilities =
9000 possible four digit numbers.Now, the possible digits in the form of 3^n are: 3^0 = 1, 3^1 = 3, 3^2 = 9. Any number yielded from n > 2 is not one digit.
We will find the number of possibilities of four digit numbers that DO NOT include 1, 3, or 9. See below.
The possible numbers for the first digit include 2,4,5,6,7,8. So 6 digits.
The possible numbers for the second, third, and fourth digits are 0,2,4,5,6,7,8. So 7 digits.
6 possibilities *
7 possibilities *
7 possibilities *
7 possibilities =
2058 possible four digit numbers without 1, 3, and 9. 9000 - 2058 = 6942 possible four digit numbers with 1,3, and 9.