Find the lower bound and upper bound that is a multiple of 7! so for a three digit integer that is a multiple of 7, 100 is the lowest possible three digit integer and 999 is the highest, however, neither of these are a multiple of 7!
So starting at 100 find a multiple of 7! (105) is the product of (15*7), that is your lower bound. Now find your upper bound,starting at 999; you find, (994) which is a product of (142*7)! Now use a THEOREM (IF m and n are integers, and m <= n,then there are n-m +1 integers from m to n, inclusive). This means take the integer 142 from the product of 142*7 from your upper bound, and subtract that from your lower bound product which is the integer 15 from the product 15*7. You will get your event (E) so E = 142 - 15 + 1 = 128. So E = 128, that is how many three digit integers are a multiple of 7! So now take your E and put that over your sample space (S) where S = all possible outcomes in a random outcomes. so (s) = 9 * 10 * 10 where the first digit of your three digit number is a natural number between 1-9, the second digit can be any natural number from 0 to 9, and the third digit number can also be a natural number between 0 and 9. So you get (S) = 9 * 10 * 10 = 900. So E/S gives you your ratio or probability of number of three digit integers that are a multiple of 7. You can use this for any three digit multiple, or four digit multiple ... (N) multiple where N is a non negative member of Z.