# Question: how many 4digit numbers can be formed using only the...

###### Question details

How many 4-digit numbers can be formed using only the digits {1,2,3} if repetition is allowed and the number must contain the digit 3 somewhere. Hint: it may be easier to first count the numbers that don't contain the digit 3.