Between 9999 and 100000, how many numbers are there having at least one digit that is 8?
24613
37513
48314
54513
The numbers between 9999 and 100000 are all 5-digit numbers.
To find the total number of 5-digit numbers having at least one of their digits as 8.
The total number of 5-digit numbers is
The total number of 5-digit numbers in which 8 does not appear at all is,
Thus,
The total number of 5-digit numbers having at least one of their digits as 8 = (Total numbers of 5-digit numbers) – (Total number of 5-digit numbers in which 8 does not appear at all)
Therefore, the total number of 5-digit numbers having at least one of their digits as 8 is 37513.
Study 40% syllabus and score up to 100% marks in JEE