Solution

Did you say the answer was 20 seconds - the LCM of 1, 2, 4 and 5? I think it is not 20 but 30 seconds. It is the one second for which the words glow, that is causing all the mischief.

Just for the ease of understanding, imagine that each word immediately upon lighting up lets off a small beep. The first word, therefore, gives a beep on lighting up. It remains glowing for one second and, then, goes off for one second. Then, it glows again after making a beep. So, the interval between the two beeps is two seconds.

Similarly, the second word gives a beep on lighting up; remains glowing for one second; and, then, goes off for two seconds. It lights up again, giving a beep. In this case, the interval between two beeps is three seconds.

Likewise, the interval between two beeps by the third word will be five seconds, and by the fourth word will be six seconds.

When will all the four words light up simultaneously? Obviously that will happen when you hear them beep at the same time.

Just as an example, consider only the first two words: "New" beeps every two seconds; so, starting from 0 (when the swith is pressed), it will glow at 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, ..... seconds. Similarly "Pankaj", which beeps every three seconds, will glow at 0, 3, 6, 9, 12, 15, 18, 21, .... seconds. These two words will glow simultaneously when they beep together. That will happen at 0, 6, 12, 18, ... seconds. So, they glow together at intervals of 6 seconds. But what is 6? It is the LCM of 2 and 3.

Now, similarly, if we consider the first three words: "New" beeps every 2 seconds, "Pankaj" beeps every 3 seconds, and "Super" beeps every 5 seconds. They will beep together every "t" seconds where "t" is the LCM of 2, 3, 5. LCM of 2, 3, 5 is 30. So, the three words will glow together every 30 seconds.

Finally, we consider all the four words. In this case, we have to consider the LCM of 2, 3, 5 and 6, which is also 30. So, all the four words glow together at intervals of 30 seconds.

Just for fun, let's work out other combinations: "New" and "Pankaj" will glow simultaneously every 6 seconds (LCM of 2 and 3); "New" and "Super" will glow simultaneously every 10 seconds (LCM of 2 and 5); "New" and "Shoppe" will glow simultaneously every 6 seconds (LCM of 2 and 6); "Pankaj" and "Super" will glow simultaneously every 15 seconds (LCM of 3 and 5); "Pankaj" and "Shoppe" will glow simultaneously every 6 seconds (LCM of 3 and 6); "New", "Pankaj" and "Super" will glow simultaneously every 30 seconds (LCM of 2, 3 and 5); "New", "Pankaj" and "Shoppe" will glow simultaneously every 6 seconds (LCM of 2, 3 and 6); "New", "Super" and "Shoppe" will glow simultaneously every 30 seconds (LCM of 2, 5 and 6); "Pankaj", "Super" and "Shoppe" will glow simultaneously every 30 seconds (LCM of 3, 5 and 6); and, of course, all the four words will glow simultaneously every 30 seconds as we have already determined.

You don't think I am right? Okay, I have tried to create a table. The time under the "Time" column is in seconds; I am not interested in the hour and minute part. Let's say I press the switch (at 00 seconds) that causes all the words to glow at once. For one second after that (00 - 01 seconds) all the words will glow together, and then go off. After one second, only the word "New" will light up for one second (02-03 seconds) while the rest will be off. From 03 to 04 seconds, the first word goes OFF for a second and "Pankaj" lights up. That is how it continues. This is what I get:

Time New Pankaj Super Shoppe
00-01 ON ON ON ON
01-02 OFF OFF OFF OFF
02-03 ON OFF OFF OFF
03-04 OFF ON OFF OFF
04-05 ON OFF OFF OFF
05-06 OFF OFF ON OFF
06-07 ON ON OFF ON
07-08 OFF OFF OFF OFF
08-09 ON OFF OFF OFF
09-10 OFF ON OFF OFF
10-11 ON OFF ON OFF
11-12 OFF OFF OFF OFF
12-13 ON ON OFF ON
13-14 OFF OFF OFF OFF
14-15 ON OFF OFF OFF
15-16 OFF ON ON OFF
16-17 ON OFF OFF OFF
17-18 OFF OFF OFF OFF
18-19 ON ON OFF ON
19-20 OFF OFF OFF OFF
20-21 ON OFF ON OFF
21-22 OFF ON OFF OFF
22-23 ON OFF OFF OFF
23-24 OFF OFF OFF OFF
24-25 ON ON OFF ON
25-26 OFF OFF ON OFF
26-27 ON OFF OFF OFF
27-28 OFF ON OFF OFF
28-29 ON OFF OFF OFF
29-30 OFF OFF OFF OFF
30-31 ON ON ON ON

Some useful links for
your career:


  • Union Public Service Commission - www.upsc.gov.in
  • IIT-Kharagpur - www.iitkgp.ac.in
  • Indian Statistical Institute - www.isical.ac.in
  • Indian Institute of Technology Madras - www.iitm.ac.in
  • Indian Institute of Management, Ahmedabad - www.iimahd.ernet.in
  • Indian Institute of Mass Commission - www.iimc.nic.in
  • IIT Bombay - www.iitb.ac.in
  • Indian School of Mines, Dhanbad - www.ismdhanbad.ac.in
  • Birla Institute of Technology, Ranchi - www.bitmesra.ac.in
  • Central Institute of Fisheries Nautical and Engineering Training - www.cifnet.nic.in
  • Indian Institute of Information Technology, Allahabad (Deemed University) - www.iiita.ac.in
  • Central Marine Fisheries Research Institute, Kochi - www.cmfri.com
  • Tata Institute of Social Sciences, Mumbai - www.tiss.edu