How many number of four digits can be formed with the digits 1,2,3,4,5 if the digit can be repeated in any number of times?
625
Since repetition of digits is allowed, therefore each of the four places can be filled in 5 ways (using any of 1,2,3,4,5).
Hence, the required number of numbers = 5 x 5 x 5 x 5 x 5 = 625.