Three functions to check whether a number is a palindrome number.