Q. The number of -digit numbers that can be made with the digits and in which at least two digits are identical, is

 1515  240 BITSATBITSAT 2019 Report Error

Solution:

First we'll calculate the number of ALL -digit numbers that can be made with them. Then we'll calculate and subtract the number of -digit numbers that don't have any of the digits identical.
To find all possible -digit numbers that can be made.
1. There are ways ways to choose the digits, which is all of them.
Now we must subtract the number of ways in which there are no two digits alike ways ways to choose the digits, which is all of them.
So