### Random Post

### Recent Posts

- Puzzle 67: Addition: letters for digits
- Enigma 1101: Disappearing numbers
- Enigma 410: Most right
- Tantalizer 475: League table
- Enigma 1102: The Apathy Party
- Enigma 409: Hands and feet
- Puzzle 68: Football and addition: letters for digits
- Enigma 1103: Brush strokes
- Enigma 408: Royal numbers
- Tantalizer 476: Take your partners

### Recent Comments

Jim Randell on Puzzle 67: Addition: letters f… | |

geoffrounce on Enigma 1313: Triangles | |

Jim Randell on Enigma 1313: Triangles | |

geoffrounce on Enigma 1313: Triangles | |

Jim Randell on Enigma 1313: Triangles |

### Archives

### Categories

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

### Site Stats

- 161,924 hits

It is obvious that if APR is divisible by 30 then R=0, and also if FEB is divisible by 28 then B is in {2, 4, 6, 8}.

The remaining space can be checked with a simple Python program in 120ms:

Solution:FEB = 728.Using a longer program to do more early rejection I can get the execution time down to 35ms.

Using the generalised Alphametic solver in

enigma.pywe can solve this problem directly without needing to write a program:It executes in 69ms.