How many diﬀerent 4-digit numbers can be formed with the digits 1, 2, 3, and 4, if each digit is used only once?
How many numbers of 3 digits each can be formed from the digits 1,2,3,4,5 and 6 if repetition of the digit is allowed?