Hello George. Given 2 out of 10 favorite digits, the probability that there are k favorite digits out of n on the slip of paper is:

where is the combination of k out of n items, which is equal to

So here you want the probability that either 3 or 4 of the 4 digits are among your two favorites: