Teaser 3250: Very similar triangles
From The Sunday Times, 5th January 2025 [link] [link]
I have a piece of A6 paper on which I draw two triangles. The triangles are very similar in two ways. First of all, they are both the same shape. Not only that, the lengths of two of the sides of one of the triangles are the same as the lengths of two of the sides of the other triangle, but one triangle is larger than the other.
If the sides of the triangles are whole numbers of millimetres and the triangles don’t have any obtuse angles:
What are the lengths of sides of the larger triangle?
Note: A sheet of A6 paper measures 105 mm × 148 mm.
[teaser3250]





Jim Randell 7:02 am on 5 January 2025 Permalink |
(See also: Enigma 1198).
This Python program runs in 67ms. (Internal runtime is 1.5ms).
from enigma import (irange, hypot, intf, printf) # consider triangles with sides (a, b, c), (b, c, d) # we have: ratio(a, b, c) = ratio(b, c, d) M = intf(hypot(105, 148)) # max length for a in irange(1, M - 1): for b in irange(a + 1, M): (c, r) = divmod(b * b, a) if c > M: break if r != 0: continue # check triangle is not obtuse if a + b <= c or c * c > a * a + b * b: continue (d, r) = divmod(c * c, b) if d > M: break if r != 0: continue # output solution printf("{t1} + {t2}", t1=(a, b, c), t2=(b, c, d))There is only a single candidate solution, and it is easy to demonstrate that the triangles can both fit onto a single piece of A6.
Solution: The sides of the larger triangle are: 80 mm, 100 mm, 125 mm.
And the smaller triangle has sides: 64 mm, 80 mm, 100 mm.
The internal angles of the triangles are (approximately) 40°, 53°, 87°.
Here is a diagram showing both triangles on a piece of A6 paper (dimensions in mm):
LikeLike
Tony Smith 4:29 pm on 5 January 2025 Permalink |
In fact there is nothing to stop the triangles overlapping.
LikeLike
Jim Randell 4:57 pm on 5 January 2025 Permalink |
@Tony: True enough. I was imagining we wanted to cut the triangles out, but that isn’t what the puzzle text says.
LikeLike