Random Post
Recent Posts
- Enigma 769: Magic square
- BrainTwister #19: Angular arrangements
- Enigma 767: Safety in numbers
- BrainTwister #18: The arithmetical two-step
- Enigma 774: Sting in the tail
- BrainTwister #17: Semi-one numbers
- Enigma 773: Duodecimal
- BrainTwister #16: Order, order!
- Enigma 772: Have you seen the trailer?
- BrainTwister #15: Domino strips
Recent Comments
Archives
Categories
- article (11)
- braintwister (19)
- enigma (1,718)
- enigma-book-1982 (70)
- headscratchers-book-2023 (70)
- microteasers-book-1986 (11)
- misc (7)
- project euler (2)
- puzzle (90)
- puzzle# (249)
- site news (83)
- sphinx (4)
- tantalizer (254)
- tantalizer-book-1970 (40)
- teaser (7)
- today (1)
Site Stats
- 347,477 hits
This Python program uses the [[
SubstitutedDivision()
]] solver from the enigma.py library. It runs in 699ms.Solution: The quotient is 2.1875.
The new [[
SubstitutedDivision()
]] solver in the enigma.py library is derived from the [[SubstitutedExpression()
]] solver, so can use the same solver parameters that it does. This means that we can provide the condition that the digit specified is not 5 directly to the solver, rather than reject general solutions where it does stand for 5 at the end.Here is a run file problem that executes in 259ms.