OFFSET
0,5
COMMENTS
Every number is the sum of three palindromes.
LINKS
David Consiglio, Jr., Table of n, a(n) for n = 0..10000
Javier Cilleruelo, Florian Luca and Lewis Baxter, Every positive integer is a sum of three palindromes, arXiv: 1602.06208 [math.NT], 2017, Math. Comp., published electronically: August 15, 2017.
David Consiglio, Jr., Python program
James Grime and Brady Haran, Every Number is the Sum of Three Palindromes, Numberphile video (2018)
EXAMPLE
Initial values of n,p,q,r are:
0 0 0 0
1 1 0 0
2 1 1 0
3 1 1 1
4 2 1 1
5 2 2 1
6 2 2 2
7 3 3 1
...
25 9 9 7
26 9 9 8
27 9 9 9
28 11 11 6
29 11 11 7
30 11 11 8
...
33 11 11 11
34 22 11 1
...
CROSSREFS
If "smallest" is changed to "largest" we get a sequence which agrees with the palindromic floor function A261423 for at least 300 terms.
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Sep 11 2015
EXTENSIONS
Edited by Alois P. Heinz, Dec 29 2018
STATUS
approved