a)
have at least one digit of 9?
how many combinations of 4 digits are there? 10*10*10*10
10^4
how many combinations of digits are there with no 9's? 9*9*9*9
9^4
how many combinations of 4 digits have at least one 9?
10^4-9^4 answer
b
how many have at least one nine and no duplicats digits?
let the first digit be a nine, the second one of the remaining 9, the next one of the remaing 8, and the last one of the remaing 7; Or the first one of 9 the second be a nine the third one of the remaining 8, and the last one of the remaining 7;Or.[the same argument for the third and fourth position 9].
1*9*8*7 +9*1*8*7 +9*8*1*7 +9*8*7*1
4[1*9*8*7] answer
Arthur