MathDB
2015 Team #5

Source:

August 3, 2022
2015team test

Problem Statement

Laurie loves multiplying numbers in her head. One day she decides to multiply two 22-digit numbers xx and yy such that xyx\leq y and the two numbers collectively have at least three distinct digits. Unfortunately, she accidentally remembers the digits of each number in the opposite order (for example, instead of remembering 5151 she remembers 1515). Surprisingly, the product of the two numbers after flipping the digits is the same as the product of the two original numbers. How many possible pairs of numbers could Laurie have tried to multiply?