Answer:
Explanation:
I can only do the first one, and then only by brute force. If both numbers can be the same, then David would write 143143
143 * 143 = 20449
7 * 20449 = 143*143. It is the only answer that came up from 100 to 999.
If I get the second one, I'll put it in the comments. But I can only do it by brute force as well, if I can do it at all.