### Random Post

### Recent Posts

### Recent Comments

Jim Randell on Puzzle #52: Bus change | |

Jim Randell on Enigma 967: Prime cubes | |

GeoffR on Enigma 1707: Making progr… | |

Jim Randell on Enigma 1707: Making progr… | |

Jim Randell on Tantalizer 409: Fe, Fi, Fo,… |

### Archives

### Categories

- article (11)
- enigma (1,364)
- misc (4)
- project euler (2)
- puzzle (90)
- puzzle# (47)
- site news (58)
- tantalizer (92)
- teaser (7)

### Site Stats

- 231,894 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.