Given any positive integer, this program returns three integers (all palindromes) that add up to the given number. The program is a direct translation of the algorithms described in the paper "Every positive integer is a sum of three palindromes" by Javier Cilleruelo, Florian Luca and Lewis Baxter. Requires ListExt. |