**From New Scientist #2306, 1st September 2001** [link]

My car has a five-figure display for the milometer, showing the total miles travelled since the car was made, and a three-figure display for an odometer (which can be set to zero at the beginning of a trip) to measure the distance of a journey. When I got the car both meters were showing perfect cubes with no zeros. I also noticed that both notched up the next mile simultaneously.

I never reset the odometer, it just keeps going round and round, going back to zero when it reaches one thousand. Once when it was at zero the milometer was again showing a perfect cube. (In fact it was the second occasion since I bought the car that the odometer had been at zero, but you don’t need to know that). I have run the car for several years since then (although the milometer has never gone back to zero yet).

As I parked this morning I noticed that again both meters were displaying perfect cubes with no zeros.

What were the two meters displaying this morning?

[enigma1150]

### Like this:

Like Loading...

This Python program runs in 37ms

Solution:The reading on the milometer is 97336 (= 46³). The reading on the odometer is 512 (= 8³).The initial readings are: 12167 (= 23³) and 343 (= 7³).

And the second time the odometer reaches 0 the milometer reading is 13824 (= 24³).