It is hard and the condition of repeat of number should be clear if you have formula ( it is obvious to have) you can use that.
Answer:
totally 16 numbers can be formed
8.0m questions
10.6m answers