Actually, the first thing I told her was that she could have the prize if she figured out what perfect numbers were and described them to me. I figured she would consult an encyclopedia or her math teacher, but she proceeded to text "what is a perfect number" to ChaCha and read me the answer verbatim. So I called her a cheater and then resolved to come up with a puzzle she couldn't just look up the answer to.
Anyway, while I was walking to the grocery store the other day, the following little puzzle occurred to me. Unfortunately, I'm worried its a little too easy, since you can get the answer without really knowing what's going on, so it's not going to work as a puzzle form the little mathematician. But I liked it enough I wanted to put it someplace. Don't worry, its pretty easy, but it's based on something kind of neat that I didn't personally realize until the other day. Here goes:
The king's royal mathematician is about to retire, and he has to name a successor. He has two students, both with excellent marks on their exams and both of whom have shown real promise as mathematicians and as mental calculators. Thus, the old man announces a test: In the presence of the king and his court, he will write a 5-digit number on a piece of parchment and place the parchment on the table before the two students. Whichever one of them can be the first to correctly tell the king what the first (one's place) digit in the square of the number on the parchment is will be the new royal mathematician. However, to prevent them both from simply blurting out a guess (with a one-in-ten shot at winning), anyone who answers wrongly will be executed.
When the day of the test arrives the old man takes his quill pen, dips it in the bottle of ink, and carefully writes down his number of choice. Then, to ensure everything is fair, he squares the number himself, whispers the answer in the king's ear and turns around to place the parchment on the table and begin the test. However, just then the mathematician clutches at his chest, and falls over on the table, dead of a heart attack. As he falls, he knocks over the ink bottle, spilling it across the parchment and obscuring everything except the one's-place digit of the number he had written, which is a 7.
"Sire," says the first student, "I know the answer." He announces it to the court and the king nods in amazement.
The question is, what did he say, and, given that his life was on the line, how could he be so sure?
Answer and explanation is below the fold