how to prove mathematically that a number is palindrome code example Example: formula for finding a mathematical palindrome how to check if a number is a palindrome or not