### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,367)
- misc (4)
- project euler (2)
- puzzle (90)
- puzzle# (48)
- site news (58)
- tantalizer (94)
- teaser (7)

### Site Stats

- 233,129 hits

Programming Enigma Puzzles

12 February 2013

Posted by on **From New Scientist #2623, 29th September 2007**

In the following statements different capital letters in bold stand for different digits, with the same letter consistently standing for the same digit.

I have a collection of cubes in three different colours: red, blue and yellow. Their sides are all whole numbers, and furthermore I can tell you that the volume of each red cube is

NIL, the face of each blue cube hasNOarea and the volume of each yellow cube isZERO. Obviously the total volume of all the cubes isNOTHING. As for quantities, if you arrange the cubes into three distinct piles according to colour, you will find that in one pile there areNOcubes and in another pile there areNONE.How many cubes are in the remaining pile, and what is their colour?

[enigma1462]

%d bloggers like this:

This Python program runs in 40ms.

Solution:There are 21,413 blue cubes in the third pile.