### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,183)
- misc (2)
- project euler (2)
- puzzle (46)
- site news (46)
- tantalizer (49)
- teaser (3)

### Site Stats

- 184,820 hits

Advertisements

Programming Enigma Puzzles

1 June 2014

Posted by on **From New Scientist #2478, 18th December 2004**

Six gifts are arranged in a circle around the Christmas tree. There is one each for Gail, Simon, Rachel, Bob, Yvonne and Will. The six wrappings are green, silver, red, blue, yellow and white. The six ribbons are also those colours. But if you look at any two adjacent gifts then the initials of their recipients, the colours of their wrappings and the colour of their ribbons give six different letters.

The white-wrapped gift is between the yellow-wrapped and the green-wrapped ones. The next gift clockwise from Rachel’s has a ribbon of the same colour (not green) as the wrapping of Yvonne’s gift. The next gift clockwise from the one with green ribbon has a wrapper the same colour as the ribbon on the white-wrapped gift. The next gift clockwise from the blue-wrapped gift has a ribbon which is the same colour as the wrapping on Simon’s gift.

List the recipients of the gifts in clockwise order starting with Rachel.

**Enigma 1423** is also called “Around the tree”.

[enigma1320]

Advertisements

%d bloggers like this:

This Python program runs in 41ms.

Solution:In clockwise order the recipients of the gifts are: Rachel, Gail, Simon, Yvonne, Will and Bob.The corresponding wrappings are:

The corresponding ribbons are: