(i) The next time all three flash together
They flash together after a time that is a multiple of 12, 20 and 30. The first such time is the LCM.
12=22×320=22×530=2×3×5
Highest power of each prime:
LCM(12,20,30)=22×3×5=60 seconds
60 seconds is 1 minute.
Answer: 9:01:00 p.m.
(ii) Joint flashes up to 9:10:00 p.m.
They flash together every 60 seconds:
9:00, 9:01, 9:02, …, 9:10
From 9:00 to 9:10 is 10 minutes, giving 10 joint flashes after 9:00, plus the one at 9:00:
10+1=11
Answer: 11 times.
Counting the start is the step people forget. "Up to and including" means both ends count.
(iii) With the fourth lighthouse
45=32×5
LCM(12,20,30,45)=22×32×5=180 seconds
The power of 3 has gone up from 31 to 32 because of the 45.
180 seconds=3 minutes
Answer: 9:03:00 p.m.
(iii) OR — The first two lighthouses
LCM(12,20)=22×3×5=60 seconds
So the first two flash together once every minute. Between 9:00:00 and 9:10:00, not counting 9:00:00, that happens at 9:01, 9:02, …, 9:10:
600÷60=10
Answer: 10 times.