How many 3-digit numbers can be formed from the digits 1, 2, 3, 4 and 5 assuming that (i) repetition of the digits is allowed? (ii) repetition of the digits is not allowed?
(i) Each of the 3 places has 5 choices, and repetition is allowed: 5 × 5 × 5 = 125.
(ii) Without repetition, the choices for the 3 places are 5, then 4, then 3: 5 × 4 × 3 = 60.