Thursday, April 1, 2010

Creating a Numeric Palindrome

Start with a number
Reverse the digits and add that to the original number
If the result is not a palindrome, keep adding to the current sum the reversed digits of your original number.
You will eventually end up with a palindrome.

Ex. Start with 428
Reverse these to get 824 and add to the original (428+824) to get 1252
Add 824 to 1252 and get an answer.
Repeat adding 824 to each sum. You will eventually get a palindrome.
1252+824=2076
2076+824=2900
2900+824=3724
3724+824=4548
4548+824=5372
5372+824=6196
6196+824=7020
7020+824=7844
7844+824=8668 =Palindrome!