How to check if the binary representation of an integer is a palindrome? http://stackoverflow.com/questions/845772/how-to-check-if-the-binary-representation-of-an-integer-is-a-palindrome http://blog.csdn.net/jiyanfeng1/article/details/8608699