Euler in Babylon

Double-base palindromes

January 31, 2003

The decimal number, 585 = 10010010012 (binary), is palindromic in both bases.

Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2.

(Please note that the palindromic number, in either base, may not include leading zeros.)


gamwe6

Written by gamwe6 who lives and works in San Francisco building useful things. You should follow him on Twitter