From The Sunday Times, 5th December 1999 [link]
Ruritania is reluctant to adopt the euro as it has a sensible currency of its own. The mint issues the coins in four denominations, the value of each being proportional to its radius. The total value of the four, in euros, is 28.
The four coins are available in a clever presentation pack. It consists of a triangular box of sides 13 cm, 14 cm and 15 cm. The largest coin just fits into the box, touching each of its sides, roughly as shown:

Then there are three straight pieces of thin card inside the box. Each touches the large coin and is parallel to a side of the box. This creates three smaller triangles in the corners of the box. The three remaining coins just fit into the box, with one in each of these small triangles. Each coin touches all three sides of the triangle.
Unfortunately I have lost the smallest coin from my presentation pack.
What, in euros, is its value?
This puzzle is included in the book Brainteasers (2002). The puzzle text above is taken from the book.
[teaser1942]
Jim Randell 9:10 am on 26 November 2020 Permalink |
This puzzle can be solved using the [[
SubstitutedExpression]] solver from the enigma.py library.The following run file executes in 136ms.
Run: [ @repl.it ]
Solution: NOAH = 2074.
The pairs are:
Both pairs sum to 1468.
And (A, R, K) rearranged gives the consecutive numbers (6, 7, 8).
LikeLike
Frits 10:13 am on 26 November 2020 Permalink |
Trying not to copy all Jim’s equations.
from itertools import permutations c = 1 digits = set(range(10)).difference({1}) for Q in permutations(digits): e,w,r,a,m,h,n,o,k = Q # letter combinations don't start with zero if 0 in [e, r, h, n, a]: continue # pairs EWE, RAM and HEN, COCK are even or odd if (e + m) % 2 == 1 : continue if (n + k) % 2 == 1 : continue # one pair of the numbers being odd, the other pair being even if (e + n) % 2 == 0: continue # both pairs have the same sum s1 = (e + r) * 100 + (w + a) * 10 + e + m s2 = c * 1000 + (h + o) * 100 + (e + c) * 10 + n + k if s1 != s2: continue # a,r,k are three consecutive digits in a muddled order s3 = sum(abs(x - y) for (x, y) in zip([a, r, k, a], [r, k, a])) if s3 != 4: continue print(f"NOAH = {n}{o}{a}{h}")LikeLike
GeoffR 12:24 pm on 26 November 2020 Permalink |
LikeLike