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