Given a non-negative integer, determine if its binary representation (without leading zeros) is a palindrome. A binary palindrome is a binary string that reads the same forwards and backwards.
Input: 9
Input: 10
Hint: You can obtain the binary representation of a number by repeatedly dividing by 2, or by using built-in functions in your language of choice.
Today, on 2025-02-27, consider the symmetry found in nature and history—the same way our planet rotates in a balanced and rhythmic pattern, see if you can find a palindromic balance in bits!