Skip to content

Latest commit

 

History

History

36

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

The decimal number, 585 = 0b1001001001 (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.)

Running

$ runhaskell euler36.hs