Check as you would a string, except you need to extract the nth digit of the number. Note: At first I did this recursively, but there was an issue with zeros in the number: 450060054 was reported as not a palindrome because the recursive call received 600 instead of 00600 into the recursive call.