Sunday Times Teaser 3168 – Number Cruncher
by Colin Vout
Published Sunday June 11 2023 (link)
The gaslight glittered on the polished brass of the machine. “My Number Cruncher can calculate mechanically the result of a calculation on three positive whole numbers used once each, provided it is restricted to plus, times and brackets operations,” declared the Engineer. He opened the delicate cover and made meticulous adjustments. “There, I have disposed it for one particular expression. Please put it to the test.”
I chose three numbers, all greater than 1, and rotated the three dials to those positions. Then I cranked the handle until a delicate bell rang, and the result was indicated as 451. I made one more try, using the same three numbers although in a different order; this time the machine yielded 331.
In ascending order, what were the three numbers I selected?
In your comment line 8, how do you exclude (b x c) + a = Q as a possibility without after-the-fact knowledge?
Hi John, If the solution for swapping b with c is (a, b, c) = (x, y, z) then
choosing instead to swap a with c will give the solution (a, b, c) = (y, x, z).
So we can choose either swap since the results will be the same. I used
the definition that produced a < b < c the avoid the need for sorting.