Solved problem 4.

Answer is 993 x 913 = 906609.