Enigma 1773

Spoiler for New Scientist Enigma 1773 “Cutting Corners”  (Follow the link to see the puzzle.)

We need a triangle with one side 65 mm (we’ll work in millimeters to make everything an integer), another side a+b, and another side c+d such that the following are Pythagorean triples:

  • 56, ac+d
  • 56, b, 65
  • 60, ca+b
  • 60, d, 65

So immediately we have b = 33 and d = 25. Now we just scan a table of Pythagorean triples for ones with 56 as one leg and a as the other, where a+33 is the hypotenuse of a Pythagorean triple which has 60 as a leg. We find 56, 42, 70; 42+33 = 75 is the hypotenuse of the triple 45, 60, 75. So the triangle’s other two sides (in cm) are 7.0 and 7.5.

Is that all there is to it? Seems too easy.


Enigma 1759

Spoiler for New Scientist Enigma 1759: “Cell count” (Follow the link to see the puzzle.)

I can’t see an easy way to do this by hand, but it can be done in a spreadsheet; the key is to figure out the needed formula.

Consider just the upper right quadrant; of course the number of cells crossed for the whole circle will be 4 times the number for the quadrant. Now consider each increment along the x axis from 0 to 1 to 2 to … to r, the radius. When x goes to (x+1), y goes from √(r2x2) to √(r2–(x+1)2). The number of cells passed through in this column is 1 greater than the number of times the circle crosses a horizontal line (not counting lines started or ended on). Think about it hard enough and you realize the number of cells crossed in the file starting at x is:


where xand xare respectively the ceiling and floor functions. Multiply that by 4 and sum over all x from 0 to r–1 and you have the number of cells crossed.

So put that into a spreadsheet and graph the result:

chart_1For a radius of less than 50, the only place the number of cells decreases when the radius increases is in going from radius 24 (188 cells) to 25 (180 cells).

Enigma 1758

Spoiler for New Scientist Enigma 1758: “Path-o-logical” (Follow the link to see the puzzle.)

If a is a north-south side of the park and b is the length of a path then a and b are a side and hypotenuse of a right triangle. Call its other side x. Likewise b and c, where c is an east-west side of the park, must be a side and hypotenuse of another right triangle. Now, if you draw a perpendicular to the south side of the park through the path intersection, then the second of these triangles is split into two. All these triangles are similar and in fact the one in the southeast corner is congruent to the one in the northwest, so that perpendicular line segment must also be and c, not a, is the long side of the park: ca + 25. Then the southwest triangle has sides x and 25. Call its hypotenuse (the distance from the southwest corner to the path intersection) y.

Summarizing, the sides of these three similar triangles are:

  • a : x : b
  • x : 25 : y
  • b : y : a+25

a and b must be integers (but nothing says x or y must be).

From similarity of the first two triangles we get x2 = 25a. From the Pythagorean Theorem applied to the first triangle, b2 – a2 = x2 = 25a. If we write ba + δ then 2δ+δ2/a = 25. δ then must be an integer in the range [1, 12] and of these only 12 and 10 give integer values for a in that equation, namely 144 and 20, with corresponding values for b of 156 and 30.

Then x = 60 or 10√5 respectively. Using the Pythagorean Theorem for the second triangle, y = 65 or 15√5 ~ 33.54 respectively. But for the path intersection to be inside the park we need yb. So the only solution that works is: a = 144, b = 156:


Enigma 1709

Spoiler for New Scientist Enigma 1709:

Joe remembered a puzzle he solved years ago. In an alley, two ladders, each with their feet against the base of a wall, were leaning against the opposite wall. The distances (whole numbers of centimetres) above the ground where they touched the walls were given, and Joe had to calculate how high above the ground the ladders crossed. He also calculated that the ladders could have been 315 centimetres and 261 centimetres long. What was the width of the alley?

They’re on a real Pythagorean triples kick lately. At least I think the width of the alley is supposed to be a whole number of centimeters, otherwise the problem has no unique solution, does it?

But if the alley is required to be a whole number of centimeters wide then what we have are two Pythagorean triangles, one with hypotenuse 315 and one with hypotenuse 261, and both having one side the same.

Well, this is easy, if you remember the hypotenuse of a Pythagorean triangle has length a(u2+v2) with u>v. The prime factors of 315 are 5, 7, and 9, so a can be 1, 5, 7, 9, 35, 45, 63, or 315. Testing these we find a=63, u=2, v=1 or equivalently a=7, u=6, v=3 and no other possibilities. Then the other two sides of the triangle are a(u2v2) and 2auv which are 189 and 252. One of these must be the width of the alley. Now testing 2612–1892 and 2612–2522, the first gives 1802 while the other doesn’t give us an integer root. So the two triangles are 189, 252, 315 and 189, 180, 261, with 189 the width of the alley.


Enigma 1708

Spoiler for New Scientist Enigma 1708:

From a point on one side of a rectangular sheet of paper I drew two straight lines, one of them to a point on one adjacent side and the other to a point on the other adjacent side. My sheet of paper was now divided into two triangles and a pentagon. The lengths of the sides of the triangles were all integers, the lengths of the sides of the pentagon were, in some order, five consecutive integers, each less than 50.

What were the dimensions of the sheet of paper?

Another Pythagorean triples problem. There may be some way to cut down the solution space more easily than I did, but I still got this fairly quickly.

You can look at a list of Pythagorean triples, or just generate all the ones with numbers less than 50 if you remember the formula for doing so. (I did the latter and then checked it with the former.) From that you can find all the possible pairs of hypotenuses which differ by no more than 4. I found 21 such pairs,or 23 if you count length 25 twice, since it is the hypotenuse of two triples: 15, 20, 25 and 7, 24, 25.

Then look through the possible triples and pick out the ones where a side of one triangle plus a side of the other differs by no more than 4 (but more than 0) from both the hypotenuses. For instance the pair 5, 12, 13 and 8, 15, 17 is eliminated because 5+8=17 is equal to one of the hypotenuses, while 5+15, 12+8, and 12+15 all differ from 13 by more than 4. Then look at the remaining two sides; they have to differ by no more than 4 (but more than 0).

I found four pairs of triples that meet those requirements:

  • 7, 24, 25 and 20, 21, 29
  • 10, 24, 26 and 20, 21, 29
  • 16, 30, 34 and 21, 28, 35
  • 12, 35, 37 and 24, 32, 40

Try the first of these:

The two unlabelled line segments would have to be 26 and 28, but these differ by 2 while 24 and 21 differ by 3, so the two rectangle sides come out unequal. So this doesn’t work. The only pair that does is 16, 30, 34 and 21, 28, 35. The right side of the rectangle is 16+21=37 so one of the remaining line segments must be 36 while the other is either 33 or 38. Since 28 and 30 differ by 2 the remaining line segments must differ by 2 as well, so must be 36 and 38. The rectangle is

and the dimensions are 37 by 66.

Enigma 1704

Spoiler for New Scientist Enigma 1704:

Joe drew a right-angled triangle on an A6 file card. He asked Penny to cut it out and then cut it in two to make two right-angled triangles. Then he asked her to cut each triangle in two to make four right-angled triangles in total. Now Joe’s triangle was very special. Penny found that the lengths of all the sides of all the triangles were a whole number of millimetres.

What was the area of the smallest triangle?

[Edited for clarity; added diagrams]

I can’t believe how long I messed around with this before seeing how obvious easy it is. When you cut a right triangle into two smaller right triangles (by cutting along the perpendicular to the hypotenuse that goes through the right vertex), both new triangles are similar to the first.


Cut each of the two smaller right triangles into still smaller right triangles and you get four more triangles also similar to the first. In fact two of these four triangles are congruent. So you have a triangle with sides a:b:c, two with sides d:a:e, and one with sides f:d:g, all similar:

The two congruent triangles make a rectangle of size a by d, where a<d. Adjacent to the short side is the smallest triangle, a:b:c. Then the two triangles d:a:e are larger by the ratio a/b, and the largest triangle f:d:g is larger than that by another factor of a/b.

From this we get da (a/b), ec (a/b), f = a(a/b)2, and g = c(a/b)2. Now if a:b:c are a Pythagorean triple then (multiplying by b2) so are ab2:b3:cb2 and db2:ab2:eb2 = a2b:ab2:cab and fb2:db2:gb2 = a3:a2b:ca2. The lengths of the sides of the original triangle are b3+db2 = b3+a2b and ab2+fb2 = ab2+a3, and the hypotenuse is cb2 + gb2 = cb2 + ca2 = c3.

If a:b:c is the smallest Pythagorean triple, 4:3:5 (recall a>b), the sides are 75 and 100 and the hypotenuse is 125. An A6 card is 105 mm by 148 mm, so this triangle fits. The next smallest Pythagorean triple (that is, next smallest value of c) is 8:6:10 which gives a hypotenuse of 1000 mm, much too large. So there is only one solution, and the smallest triangle has area ab5/2 = 486 square mm.