Q. Number of numbers greater than a million and divisible by which can be formed by using only the digits is -

 3334  154 Permutations and Combinations Report Error

Solution:

For a number to be divisible by or should be at units place.
Unit place can be filled by ways
Remaining digits can be filled in ways.
Total ways
But these arrangements also include cases where 0 is at millions place and 5 at units place, which are undesirable cases
ways (undesirable)
subtract it from total ways.
Desired ways