An n-digit number is a positive number with exactly n digits. Nine hundred distinct n-digit numbers
are to be formed using only three digits and The smallest value of for which this is possible is
The number of n-digit distinct numbers that can be formed using digits and 7 is
We have to find , so that
Thus, the smallest value of is