### Random Post

### Recent Posts

### Recent Comments

Jim Randell on Enigma 1691: Factory part… | |

Jim Randell on Puzzle 52: Football on the Isl… | |

geoffrounce on Enigma 1691: Factory part… | |

Hugh Casement on Enigma 1070: Time to work | |

Jim Randell on Enigma 1070: Time to work |

### Archives

### Categories

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

### Site Stats

- 177,808 hits

Advertisements

This puzzle highlighted an inconsistency in the return values (now fixed) of the

is_triangular()function from theenigma.pylibrary. This Python program uses the latest version of that function, and runs in 36ms.Solution:The three numbers are 231, 273 and 435.I found the predicate ‘exactly’ was useful to check that a given number of items in a list are true.

I also set the configuration to multiple outputs to give the three (and only three) numbers fulfilling

the puzzle conditions