The number of single digit numbers is 7P1.
The permutations of 7 digits taken 2 at a time are 7P2. But 6P1 of these have zero in the ten’s place and so reduce to one digit numbers.
Hence the number of two-digit numbers is 7P2 - 6P1
Similarly the number of the three-digit numbers is 7P3 - 6P2 and so on.
∴ The total number required
= 7Pl + (7P2 - 6P1 ) + (7P3 - 6P2) + (7P4 - 6P3) + (7P5 - 6P4) + (7P6 - 6P5) + (7P7 - 6P6) = 11743.