How many 3-digit numbers can be formed from the digits 1,2,3,4 and 5, assuming that (i) repetition of digits is allowed, (ii) repetition of digits is not allowed?
Hint. Fill the three positions one at a time, counting how many digits remain available for each.
(i) Each of the 3 positions independently has 5 choices, since repetition is allowed: 5x5x5=125. (ii) The first position has 5 choices, the second has 4 remaining, the third has 3 remaining: 5x4x3=60.
✦ Working through each part gives: (i) 125. (ii) 60.
