MathDB
IOQM P18 2024

Source:

September 8, 2024

Problem Statement

Let p,qp,q be two-digit number neither of which are divisible by 1010. Let rr be the four-digit number by putting the digits of pp followed by the digits of qq (in order). As p,qp,q very, a computer prints rr on the screen if gcd(p,q)=1\gcd(p,q) = 1 and p+qp+q divides rr. Suppose that the largest number that is printed by the computer is NN. Determine the number formed by the last two digits of NN (in the same order).