cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A261916 Smallest p such that n can be written as n = p+q+r where p>=q>=r>=0 are palindromes.

Original entry on oeis.org

0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 11, 11, 11, 11, 22, 11, 22, 22, 22, 22, 22, 22, 22, 22, 22, 33, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 44, 22, 33, 33, 33, 33, 33, 33, 33, 33, 33, 55, 22, 33, 33, 33, 33, 33
Offset: 0

Views

Author

N. J. A. Sloane, Sep 11 2015

Keywords

Comments

Every number is the sum of three palindromes.

Examples

			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.

Extensions

Edited by Alois P. Heinz, Dec 29 2018