Option (B) is correct.
Explanation:
The number of diyas is divisible by 12 and by 18. A number divisible by two numbers is divisible by their LCM.
12=2×2×3 and 18=2×3×3, so the LCM is 2×2×3×3=36. So boxes of 36 always work.
The stock could be as small as 36 diyas itself (36=3×12=2×18). So no box size bigger than 36 is certain to work.
Why the other options are wrong
- (A) 216=12×18 is the product, not the LCM. A stock of 36 diyas fits boxes of 12 and of 18 but not a box of 216.
- (C) 72 is a multiple of the LCM. A stock of 36 (or 108) diyas fits boxes of 12 and 18 but not boxes of 72.
- (D) 30=12+18. A stock of 36 diyas is not a multiple of 30.