Check if a number is a panlindrome