login
A265545
a(n) = smallest base-3 palindrome m >= n such that every base-3 digit of n is <= the corresponding digit of m; m is written in base 3.
0
0, 1, 2, 11, 11, 22, 22, 22, 22, 101, 101, 202, 111, 111, 212, 121, 121, 222, 202, 202, 202, 212, 212, 212, 222, 222, 222, 1001, 1001, 2002, 1111, 1111, 2112, 1221, 1221, 2222, 1111, 1111, 2112, 1111, 1111, 2112, 1221, 1221, 2222, 1221, 1221, 2222, 1221, 1221, 2222, 1221, 1221, 2222, 2002, 2002, 2002, 2112, 2112, 2112
OFFSET
0,3
CROSSREFS
Sequences related to palindromic floor and ceiling: A175298, A206913, A206914, A261423, A262038, and the large block of consecutive sequences beginning at A265509.
See A206913 for the values of m written in base 10.
Sequence in context: A145523 A168413 A265561 * A153705 A290394 A292779
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Dec 10 2015
STATUS
approved