### 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,130 hits

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]

%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.