Sunday Times Teaser 2717 – Round the Garden
by Danny Roth
All the sides of a quadrilateral shaped garden are whole numbers of metres, no two of which differ in length by a prime number. The lengths of the three longest sides are prime numbers and somewhere in the lengths of the four sides and the perimeter each of the digits 0 to 9 is used exactly once.
What are the lengths of the sides?