## Teaser 2750: Granny’s birthdays

**From The Sunday Times, 7th June 2015** [link] [link]

At Granny’s birthday this year she was telling us some surprising things about some past birthdays. She told us that each year she writes down the date of her birthday (in the eight-digit form

dd/mm/yyyy) and her age in years.On two occasions in her lifetime it has turned out that this has involved writing each of the digits 0 to 9 exactly once. The first of these occasions was in 1974.

What is Granny’s date of birth (in the eight-digit form)?

Note that in order to solve this puzzle it is important to be aware of the date it was originally set.

All 200 puzzles included in the book **The Sunday Times Brain Teasers Book 1** (2019) are now available on **S2T2**.

[teaser2750]

## Jim Randell 8:00 am

on6 October 2022 Permalink |The puzzle was originally set on 7th June 2015, and mentions Granny’s birthday “this year” as having already happened. So her birthday must be earlier in the year than 7th June.

This Python program considers dates in 1974 up to 6th June, if the date includes 8 different digits, then the remaining 2 digits indicate Granny’s age (in some order), and we can then look for other years.

The program runs in 59ms. (Internal runtime is 4.3ms)

Run:[ @replit ]Solution:Granny’s date of birth is: 26/05/1936.So Granny is 38 in 1974 → (26/05/1974, 38).

And she is 47 in 1983 → (26/05/1983, 47).

In 2015 (when the puzzle was set) she was 79.

If we consider all dates in 1974 then there is a further solution of: 25/06/1936.

So, the puzzle only has a unique solution if posed between 27th May and 24th June. A fact that was not mentioned when the puzzle was included in the book

The Sunday Times Brain Teasers 1(2019).LikeLike