login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265558 a(n) = smallest base-10 palindrome m >= n such that every base-10 digit of n is <= the corresponding digit of m. 2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 11, 22, 33, 44, 55, 66, 77, 88, 99, 22, 22, 22, 33, 44, 55, 66, 77, 88, 99, 33, 33, 33, 33, 44, 55, 66, 77, 88, 99, 44, 44, 44, 44, 44, 55, 66, 77, 88, 99, 55, 55, 55, 55, 55, 55, 66, 77, 88, 99, 66, 66, 66, 66, 66, 66, 66, 77, 88, 99, 77, 77, 77, 77, 77, 77, 77, 77, 88, 99, 88, 88 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
MAPLE
For Maple code see A265543.
PROG
(PARI) a(n, base=10) = { my (d=digits(n, base)); for (k=1, #d\2, d[k]=d[#d+1-k]=max(d[k], d[#d+1-k])); fromdigits(d, base) } \\ Rémy Sigrist, Jun 24 2022
CROSSREFS
Sequences related to palindromic floor and ceiling: A175298, A206913, A206914, A261423, A262038, and the large block of consecutive sequences beginning at A265509.
Cf. A265525.
Sequence in context: A033862 A329201 A262038 * A082273 A256755 A045876
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Dec 10 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 4 10:19 EDT 2024. Contains 373988 sequences. (Running on oeis4.)