As mentioned in the question, every 2
nd lockers starting from 2 receive a pen, i.e the lockers receive a pen are – 2,4,6,........,400 (Arithmetic progression with difference 2). So the total number of lockers receive pens = 200. Also the lockers are multiple of 2 (an even number)
So a+d+e+g = 200
Similarly, every 3
rd lockers starting from 3 receive a chocolate, i.e the lockers receive a chocolate are – 3,6,9, ........,399 (Arithmetic progression with difference 3). So the total number of lockers receive chocolate = 133. Also the lockers are multiple of 3.
So b+e+f+g = 133
Again, every 5
th lockers starting from 5 receive a wine bottle, i.e the lockers receive a wine bottle are – 5,10,15,........,400 (Arithmetic progression with difference 5). So the total number of lockers receive wine bottles = 80. Also the lockers are multiple of 5.
So, c+d+f+g = 80
Now the common multiple of 2 and 3 is 6. So all the multiples of 6 will have both pen and chocolate. So, the lockers that have both pen and chocolate are – 6,12,18,........,396. (Arithmetic progression with difference 6). So the total number of lockers receive both pen and chocolate = 66.
So, e+g = 66
Similarly the common multiple of 3 and 5 is 15. So all the multiples of 15 will have both chocolate and wine. So, the lockers that have both chocolate and wine are – 15,30,45,........,390. (Arithmetic progression with difference 15). So the total number of lockers receive both pen and chocolate = 26.
So, f+g = 26
Now the common multiple of 2 and 5 is 10. So all the multiples of 10 will have both pen and wine. So, the lockers that have both pen and wine are – 10,20,30,........,400. (Arithmetic progression with difference 10). So the total number of lockers receive both pen and wine = 40.
Now the common multiple of 2, 3 and 5 is 30. So all the multiples of 30 will have all of three- pen, chocolate, and wine. So, the lockers that have all three are – 30,60,90,........,390. (Arithmetic progression with difference 6). So the total number of lockers receive both pen and chocolate = 13.
So, g = 13.
Which gives us, e = 53, f = 13, d = 27.
And as the questions says, a+b+c+d+e+f+g+h = 400.
Adding up, a+b+c+2(d+e+f)+3g = 200+133+80 = 413.
i.e. 400+d+e+f+2g = 413+h
i.e. 400+27+53+13+26 = 413+h
i.e. h = 106
Ans: 106 (C)
Attachments

WhatsApp Image 2025-06-28 at 6.37.14 PM.jpeg [ 119.01 KiB | Viewed 720 times ]