Teaser 2737: Pinpoint accuracy
From The Sunday Times, 8th March 2015 [link] [link]
George and Martha’s bank PIN is an odd four-figure number. George did some calculations and wrote down three numbers: the first was the sum of the four digits in the PIN; the second was the average of the four digits; and the third was the product of the four digits.
Then Martha multiplied these three numbers together and was surprised that the answer equalled the original PIN.
What is their PIN?
This puzzle was not included in the book The Sunday Times Brain Teasers Book 1 (2019).
[teaser2737]
Jim Randell 8:05 am on 13 October 2022 Permalink |
None of the individual digits can be 0, as then the product of the digits would also be 0.
We can use the [[
SubstitutedExpression]] solver from the enigma.py library to solve this puzzle.The following run file executes in 65ms. (Internal runtime of the generated code is 1.1ms)
Run: [ @replit ]
Solution: The PIN is: 1715.
LikeLike
GeoffR 12:16 pm on 13 October 2022 Permalink |
LikeLike