Teaser 2563: Prime time
From The Sunday Times, 6th November 2011 [link] [link]
In this addition sum I have consistently replaced digits by letters, with different letters for different digits, and I have ended up with another correct addition sum.
What is the prime number NOW?
[teaser2563]

Jim Randell 3:51 pm on 28 March 2025 Permalink |
We can use the [[
SubstitutedExpression.split_sum]] solver from the enigma.py library to solve this puzzle.The following run file executes in 77ms. (Internal runtime of the generated code is 110µs).
Solution: NOW = 467.
LikeLike
Ruud 9:17 am on 29 March 2025 Permalink |
import istr for o, n, e, t, w, f, i, v, g, h in istr.permutations(range(10)): if (o | n | e) + (t | w | o) + (f | i | v | e) == (e | i | g | h | t) and (n | o | w).is_prime(): print("now =", n | o | w)LikeLike
GeoffR 10:12 am on 29 March 2025 Permalink |
LikeLike