### Random Post

### Recent Posts

### Recent Comments

Jim Randell on Enigma 544a: Merry Christ… | |

Jim Randell on Puzzle #52: Bus change | |

J. Pijnenburg on Puzzle #52: Bus change | |

Jim Randell on Puzzle #53: Painting by n… | |

GeoffR on Puzzle #52: Bus change |

### Archives

### Categories

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

### Site Stats

- 233,055 hits

This is a relatively straightforward puzzle, but I think it would act as a good introductory puzzle for someone just starting to do Enigmas.

This Python program runs in 33ms.

Solution:The total of the sum is 88724 (in base 10, in the puzzle it is written in base 17).Hi Naim,

I thought that you might be interested to know that your line

is not neccsary because combinations are returned in (lexicographic) order whenever the input is in this order. In your use this means that the test is not necessary since e will always be the largest of a, b, c, d and e.

Brian