The number of different 5 digit numbers greater than 50000 that can be formed using the digits 0, 1, 2, 3, 4, 5, 6, 7, such that the sum of their first and last digits should not be more than 8, is [2025]
(2)
Given digits are 0, 1, 2, 3, 4, 5, 6, 7.
First place can be filled in 3ways, i.e., (5, 6, 7)
For place as 5, last place can be 0, 1, 2, 3
Total number of ways = = 2048
For place as 6, last place can be 0, 1, 2
Total number of ways = = 1536
For place as 7, last place can be 0, 1
Total number of ways = = 1024
Total number of ways = 2048 + 1536 + 1024 = 4608
So, 50000 is not included i.e., 4608 – 1 = 4607