Skip to content

Sunday Times Teaser 2874 – An Age-Old Progression

by Angela Newing

Published October 22 2017 (link)

It is my birthday today — the same day as two of my younger relatives, Betty and Charles. I commented that the digits involved in our three ages are all different. Betty noted that the square of her age is equal to my age multiplied by Charles’s age. Then Charles added that on one of our birthdays in the next ten years the sum of our ages will be one hundred.

What are our three ages today?

4 Comments Leave one →
  1. Brian Gladman permalink

  2. Trevor Kirsten permalink

    Brian, my code for checking no repeat digits in a,b & c is cumbersome & longer than my “basic” code above so I omitted it – please help!

  3. Brian Gladman permalink

    Hi Trevor, thanks for your post. To check for repeated digits, it is useful to have a, b and c as integers so I modified your code accordingly in order to add this check:

  4. Trevor Kirsten permalink

    Hi Brian. I think I get it now. By converting variables to integers gets rid of decimal points & zeros after the points so that the set function doesn’t get confused & treat them as repeats.
    Many thanks.

Leave a Reply

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

Subscribe to this comment feed via RSS