Palindromes

2007 May 3 at 01:40 » Tagged as :

A palindrome is a number or a text that reads the same forwards and backwards. An object that has an axis of symmetry.

Problem #36 on project Eueler is to find the sum of all numbers less than one million, which are palindromic in base 10 and base 2. it's one of the easier ones on that site. Here is the solution in PHP.