Since there are no restrictions on the three-digit numbers (for example no repetitions), we actually don't care about the values of the digits. All we need to know is that there are

possible digits, and that we have to extract a triplet from here.
For problems like this we have the binomial coefficient, defined as

This number tells you how many subsets of k elements you can extract from a set of n elements. So, in your case, you want to compute
