Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

How many -digit squares are palindromes?
Solution
The last digit of a square must be either , , , , or . Therefore, we only need to consider these squares. Only one square begins and ends with . Similarly, one square begins and ends with . No square begins and ends with . One square begins and ends with . No square begins and ends with . Therefore, there are squares which are -digit palindromes.
Final answer
3