Sum of 3 Palindromes

This applet, due to Lewis Baxter, expresses any number in any base (5 to 10) as the sum of at most 3 palindromes.

It implements the algorithm in Every positive integer is a sum of three palindromes by Javier Cilleruelo, Florian Luca and Lewis Baxter, arXiv:1602.06208v2. Math. Comp. to appear

Enter base:    

Enter number: