### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,158)
- misc (2)
- project euler (2)
- puzzle (40)
- site news (44)
- tantalizer (42)
- teaser (3)

### Site Stats

- 177,959 hits

Advertisements

Programming Enigma Puzzles

14 May 2014

Posted by on **From New Scientist #1336, 16th December 1982** [link]

The picture represents a tetrahedron, with a circle at each vertex and a square at each mid-edge. You first write a positive number at each vertex. Then at each mid-edge you write the difference between the numbers at the ends of the edge. All 10 numbers are to be different. You want the total of all 10 numbers to be as small as possible. Subject to that, you want the total of the vertex-numbers to be as small as possible.

What numbers should you put at the vertices?

[enigma191]

Advertisements

%d bloggers like this:

This Python program runs in 127ms.

Solution:The numbers at the vertices should be 3, 4, 9 and 11. The sum of all the numbers is 56, and the vertex sum is 27.