Skip to content

Sunday Times Teaser 3195 – Garden Divide

by BRG on 15 December 2023

by Howard Williams

Published Friday December 15 2023 (link)

I have a triangular-shaped garden, the sides of which are an exact number of feet long. To improve its usefulness, I’ve decided to partition it by building a straight fence from one corner to the centre of the opposite side. The length of this fence is exactly 51 feet and the side it attaches to is now 26 feet long each side of the fence.

What, in ascending order, are the lengths of the other two sides of my garden?

From → Uncategorized

3 Comments Leave one →
  1. BRG permalink

    • Frits permalink

      You can also break if c > d or use:

      for c in range(a – b + 1, int((a * a + b * b) ** (1/2)) + 1):

  2. John Z permalink

Leave a Reply

Note: HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS