Project Euler Solutions
Functions
python.p0036 Namespace Reference

Functions

def bin_repr
 
def main ()
 

Detailed Description

Project Euler Problem 36

This one ended up being very easy thanks to the datetime library

Problem:

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.)

Function Documentation

def python.p0036.bin_repr (   x)
def python.p0036.main (   int)