### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,115)
- misc (2)
- project euler (2)
- puzzle (29)
- site news (43)
- tantalizer (29)
- teaser (3)

### Site Stats

- 166,357 hits

Programming Enigma Puzzles

21 February 2012

Posted by on **From New Scientist #2729, 10th October 2009** [link]

Yesterday was Harry’s birthday and also Tom’s birthday. Harry is the older. Harry’s current age, Tom’s current age and the difference between their ages are each the product of two primes. The six primes are all different.

Before Harry reaches the age of 90, there will be three further years during which his age, Tom’s age and the difference between their ages will again each be the product of two primes, the six primes all being different.

What is Harry’s current age?

[enigma1566]

Advertisements

%d bloggers like this:

The following Python program runs in 39ms.

Solution:Harry’s current age is 57.