Q.

The number of 5 digit numbers which are divisible by 4, with digits from the set {1, 2, 3, 4, 5} and the repetition of digits is allowed, is ______.           [2018]


Ans.

(625)

The last 2 digits in a 5-digit number divisible by 4 can be 12, 24, 32, 44 or 52.

Also, each of the first three digits can be any of {1, 2, 3, 4, 5}

 5 options for each of the first three digits and total 5 options for last 2 digits

 Required number of 5-digit numbers are = 5×5×5×5=625