Given digits = 1, 2, 3, 4, 5
Total number formed by three digits = 5! = 120
A number will be divisible by 4 if the last two digit are divisible by 4.
∴ Last two digits can be 12, 24, 32, 52.
They can be filled in 4 ways.
These four ways are possible by 3! ways.
Hence, number of ways in which the number formed is divisible by 4 = 4 × 3! = 4 × 3 × 2 × 1 = 24
Required probability
==