### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,176)
- misc (2)
- project euler (2)
- puzzle (44)
- site news (46)
- tantalizer (48)
- teaser (3)

### Site Stats

- 183,172 hits

Advertisements

Programming Enigma Puzzles

30 October 2012

Posted by on **From New Scientist #2660, 14th June 2008**

14 June 08 if written as 14.06.08 (day’s number.month.year, with two digits allocated to each) is a cubic date because 140608 is the cube of 52. If it is written as 14.06.08 it is obvious the day’s number precedes the month. But a date may also be written as month.day’s number.year, with two digits allocated to each: 42875 (the cube of 35) written as 04.28.75 must represent 28 April 75. Some cubes can represent two different cubic dates: 10648 (the cube of 22) written as 01.06.48 could represent 1 June 48 or 6 January 48.

Harry and Tom know that I have written down a cubic date like 14 June 08, but have not been told whether to be cubic it has the day’s number or the month placed first. Harry knows what the month is, and that enables him to deduce the date with certainty. Tom knows what the day’s number is, but that does not enable him to deduce the date.

What is the date? Give your answer in the form of 14 June 08.

[enigma1498]

Advertisements

%d bloggers like this:

The following Python program runs in 35ms. I don’t explicitly deal with leap years (but then neither does the problem).

Solution:11 September 25.