### 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

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.