top of page


🔢 Project Euler #33 — when "wrong" maths turns out to be right
Some fractions look like they simplify by incorrectly cancelling digits — yet give the correct result anyway. Take 49/98. Cancel the 9s and you get 4/8 = 1/2. And 49/98 = 1/2. ✅ These are called digit-cancelling fractions — and there are exactly 4 non-trivial ones where both numerator and denominator are two-digit numbers. Project Euler #33 asks you to find them all, multiply them together, and return the denominator of the result in its lowest terms. My approach in Python: →
May 122 min read
bottom of page