From The Sunday Times, 18th April 1982 [link]
The Manager of a large company greeted his twelve new computer staff. “You have been given consecutive, five-digit, Staff Reference Numbers (SRN). I remember numbers by finding their prime factors, using mental arithmetic — pre-computer vintage. Why not try it? If you would each tell me what factors you have, without specifying them (and ignoring unity), I should be able to work out your SR numbers”.
John said: “My number is prime.”
Ted said ” I have two prime factors. Your number follows mine doesn’t it, Les?”
Ian said: “I also have two, one of which squared. Alan’s just before me on the list.”
Sam said: “One of mine is to the power four. The last two digits of my SRN give me the other prime factor.”
Pete said: “I’ve got one factor to the power four as well. The other one is my year of birth.”
Brian said: “My number has one prime factor cubed and two others, both squared.”
Chris said: “I’m the only one with four factors, one of which is squared. Fred’s number is one less than mine.”
Dave started to say: “Kevin’s SRN is the one after mine, which …” when the Manager interrupted. “I can now list all twelve!”
List the twelve people, by initials, in increasing order of SRNs. What is Sam’s SRN?
This was the final puzzle to go by the title “Brain teaser“. The next puzzle was “Brainteaser 1030“.
This puzzle is included in the book The Sunday Times Book of Brainteasers (1994).
[teaser1029]
Jim Randell 10:12 am on 11 July 2025 Permalink |
If one of the hands is on the 12, then the clock must be showing an exact number of minutes, and so the second hand must be on 12.
Then as we go clockwise from the second hand we encounter the minute hand (which is on an exact minute marking), and then the hour hand (which must also be on an exact minute marking, so the number of minutes must be a multiple of 12).
This Python program considers possible hours and minutes, calculates the number of minute divisions the hour hand is ahead of the minute hand and then checks that this divides into the time (read as a 3- or 4-digit number) to give a smaller number.
It runs in 60ms. (Internal runtime is 46µs).
from enigma import (irange, cproduct, divc, div, printf) # possible hours and minutes (must be a multiple of 12) for (h, m) in cproduct([irange(1, 11), irange(12, 59, step=12)]): # number of minutes pointed to by the hour hand p = (5 * h) + (m // 12) # minute divisions the hour hand is ahead of the minute hand d = p - m if not (d > 0): continue # time read as a 3- or 4-digit number n = 100 * h + m r = div(n, d) if r is None or not (d > r): continue # output solution printf("{h:02d}:{m:02d} -> {n} = {d} * {r}")Solution: The clock stopped at 8:12.
The second hand points to 12 (= 0 minutes), the minute hand to 12 minutes, and the hour hand to 8 + 12/60 hours (= 41 minutes).
The hour hand is 29 minute divisions ahead of the minute hand, and: 812 = 29 × 28.
LikeLike