Q. Number of digit numbers that can be made using the digits and and in which at least one digit is different.

 1731  198 Permutations and Combinations Report Error

Solution:

Total number of numbers without restriction
Two numbers have all the digits equal. So,
The required number