Brain-Teaser 903: Ding-dong
From The Sunday Times, 26th November 1978 [link]
Today a great celebration will take place on Bells Island, for it is the Feast of Coincidus. On this island there is monastery and a nunnery. At regular intervals (a whole number of minutes) the monastery bell dongs once. The nunnery bell rings at regular intervals too (different from the intervals of the monastery’s bell, but also a whole number of minutes). So the island also regularly reverberates with a ding from the nunnery’s bell. The Feast of Coincidus takes place whenever the monastery’s dong and the nunnery’s ding occur at the same moment, and that is exactly what is due to happen at noon today.
Between consecutive Feasts the dongs from the monastery and the dings from the nunnery occur alternately and, although the two noises only coincide on Feast days, they do occur a minute apart at some other times.
When the bells coincided last time (at noon, a prime number of days ago) this whole island indulged in its usual orgy of eating and drinking.
How many days ago was that?
This puzzle is included in the book The Sunday Times Book of Brain-Teasers: Book 1 (1980). The puzzle text above is taken from the book.
After this puzzle was published The Sunday Times was hit by industrial action, and the next issue was not published until 18th November 1979.
[teaser903]




Jim Randell 9:47 am on 11 January 2022 Permalink |
If the shorter interval is i minutes, then, working forwards from the previous feast (= 0) the bell rings at (minutes):
And if the shorter interval is (i + x) minutes, then that bell rings at:
And the last 2 times coincide:
And there are times where the bells ring only 1 minute apart. As the bells are drifting apart at the beginning and together at the end, and their interval is a whole number of minutes, they must ring 1 minute apart immediately after and immediately before they coincide. i.e. x = 1 and n = i + 1
So, the number of intervals for the shorter bell is 1 more than than the length of the interval in minutes.
And in prime p days there are 1440p minutes, so we have:
So we need to find two consecutive integers, whose product is the product of a prime and 1440.
Run: [ @replit ]
from enigma import irange, inf, div, is_prime, printf for i in irange(1, inf): p = div(i * (i + 1), 1440) if p is not None and is_prime(p): printf("i={i} p={p}") breakSolution: The last feast was 1439 days ago.
So, almost 4 years ago.
We have: i = p = 1439.
LikeLike
Hugh+Casement 1:15 pm on 11 January 2022 Permalink |
The periods are 24 hours for one and 23 hours 59 minutes for the other.
LikeLike