CCommunity
To be divisible by all three of 5, 15 and 20, the number must be divisible by LCM of 5, 15 and 20
LCM of 5, 15 and 20 is 60 (= 2 × 3 × 2 × 5).
Thus, the number must be a multiple of 60.
⇒ 9999/60 = 166.65
∴ Largest multiple of 60 less than 9999 is: 60 × 166 = 9960
Hence, 9960 is the answer.