### 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

- 178,002 hits

Advertisements

Programming Enigma Puzzles

3 December 2013

Posted by on **From New Scientist #2526, 19th November 2005**

Your task this week is to put one of the letters I, V or X into each of the 21 squares in the ladder so that each row and column is a valid Roman numeral. All the numbers in the rows except one must be odd, and in only one case is a number in a row the same as a number in a column. If a letter appears in one row, it must appear in all rows above it.

What, from top to bottom, are the six numbers in the rows, expressed in the usual decimal form?

[enigma1367]

Advertisements

%d bloggers like this:

There is already an

int2roman()function in theenigma.pylibrary. This recursive Python program solves the puzzle in 48ms.Solution:The numbers in the ladder are 37, 39, 13, 3, 2 and 1.