Random Post
Recent Posts
- Enigma 764: Increasing decreases
- BrainTwister #22: Even rows
- Tantalizer 49: Square leg
- Enigma 763: Dicey numbers
- BrainTwister #21: Digit gangs
- Tantalizer 50: Bocardo pairs
- Enigma 768: Inverted mirror?
- BrainTwister #20: Factor-finding mission
- Enigma 769: Magic square
- BrainTwister #19: Angular arrangements
Recent Comments
Frits on Enigma 764: Increasing de… | |
Frits on Enigma 764: Increasing de… | |
Jim Randell on Enigma 764: Increasing de… | |
GeoffR on BrainTwister #22: Even ro… | |
Jim Randell on BrainTwister #22: Even ro… | |
GeoffR on BrainTwister #22: Even ro… | |
Frits on BrainTwister #22: Even ro… | |
GeoffR on BrainTwister #22: Even ro… |
Archives
Categories
- article (11)
- braintwister (22)
- enigma (1,721)
- 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 (256)
- tantalizer-book-1970 (42)
- teaser (7)
- today (1)
Site Stats
- 348,889 hits
I used the generalised Alphametic solver [[
SubstitutedExpression()
]] in the enigma.py library to generate possible values for MORE and LESS, and then deal with the fractions in Python. This gives a compact program that runs in 287ms.Solution: The fraction is 59/101.
The actual decimal fractions are:
101 is the smallest prime denominator (and probably the smallest integer denominator at all) that gives repeating decimal fractions of period 4. See OEIS no. A051626 and A007138.
Any simplifying of the denominator by division must be a factor of 9999, so 3, 9, 11, 101. LESS cannot have 11, or 101 as a factor by applying the remainder theorem; a factor of 11 means L-E+S-S is a multiple of 11, for 101 LE – SS is a multiple of 101. From the simplification of the denominator MORE must have either 11, or 101 as a factor. And the multiple by which to multiply LESS to obtain MORE must also have a factor 11 or 101.