### Random Post

### Recent Posts

- Enigma 1109: All square in games
- Enigma 402: A DIY puzzle
- Puzzle 71: All wrong, all wrong
- Enigma 1110: Dots and lines
- Enigma 400: Potential difficulties
- Tantalizer 479: Cat and five tales
- Enigma 1111: Base-age
- Enigma 399: Time, gentlemen, please
- Tantalizer 480: Pitter patter
- Enigma 1112: Patio zones

### Recent Comments

Jim Randell on Enigma 1653: Cut-free | |

Jim Randell on Enigma 1109: All square in… | |

Jim Randell on Enigma 402: A DIY puzzle | |

geoffrounce on Puzzle 71: All wrong, all… | |

Jim Randell on Puzzle 71: All wrong, all… |

### Archives

### Categories

- article (11)
- enigma (1,080)
- misc (2)
- project euler (2)
- puzzle (21)
- site news (42)
- tantalizer (21)
- teaser (3)

### Site Stats

- 157,134 hits

We can solve this problem directly using the

SubstitutedExpression()solver from theenigma.pylibrary without the need to write a program.The following run file executes in 88ms.

Solution:ONE = 435, THREE = 17955, SIX = 820, TEN = 153.This runs in 43ms in a command shell and in 6ms with Python profile.