Challenge 243: Matching Tails
(a) There are two three-digit numbers which when you square them, have the original number as their last three digits.
How can you figure out what these numbers are without using any technology? What are they?
(b) Are there any four-digit numbers with the property that the last four digits of their square are the same as the original number? How can you work this out without using technology?