Challenge Level

How many integers $n$, between $1$ and $100$ inclusive, have the property that $n^n$ is a square number?

If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.

This problem is taken from the UKMT Mathematical Challenges.

You can find more short problems, arranged by curriculum topic, in our short problems collection.