# Sunday Times Teaser 2991 – Super Street

*by Danny Roth*

#### Published January 19 2020 (link)

George and Martha and their five daughters with their families have moved into six houses in Super Street. I define a “super prime number” as a prime number which has at least two digits adding up to a prime number (e.g. 11 and 23). Similarly for “super squares” (e.g. 36) and “super cubes”. Houses in Super Street are numbered with the lowest 31 super numbers of the above types.

The elderly couple live in the highest-numbered house on the street. They noticed that the last digits of their daughters’ houses were five consecutive digits and the sum of their five house numbers was a perfect square. Furthermore, the ordinal positions (lowest-numbered house is 1 and so on) of all but one of the houses were prime.

Which five houses did the daughters occupy?

The red text of the original version above is easily misinterpreted – the intended meaning is “a prime number with two or more digits, the sum of which is also prime”

As indicated above, the description of ‘super’ numbers is open to interpretation so this Python solution allows various interpretations by changing line 22 (see the marked lines).