To determine the number of 5-digit numbers less than 47999 that can be formed from the given digits (1, 2, 3, 4, 5, 6, 7, 8), with repetition allowed, we can analyze each digit's possibilities.
For the first digit:
- The first digit can be any of the given digits (1, 2, 3, 4, 5, 6, 7, 8) except for 0, since we want the number to be less than 47999. So there are 8 options for the first digit.
For the remaining four digits:
- Each of these digits can be any of the given digits (0, 1, 2, 3, 4, 5, 6, 7, 8), since repetition is allowed. So there are 9 options for each of the remaining four digits.
Therefore, the total number of 5-digit numbers that can be formed is:
8 * 9 * 9 * 9 * 9 = 52,488