login
A265539
Largest base-8 palindrome m <= n, written in base 10.
0
0, 1, 2, 3, 4, 5, 6, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 18, 18, 18, 18, 18, 18, 18, 18, 18, 27, 27, 27, 27, 27, 27, 27, 27, 27, 36, 36, 36, 36, 36, 36, 36, 36, 36, 45, 45, 45, 45, 45, 45, 45, 45, 45, 54, 54, 54, 54, 54, 54, 54, 54, 54, 63, 63, 65, 65, 65, 65, 65, 65, 65, 65, 73, 73, 73, 73, 73, 73, 73, 73, 81, 81, 81
OFFSET
0,3
MATHEMATICA
Table[Module[{c=n}, While[IntegerDigits[c, 8]!=Reverse[IntegerDigits[c, 8]], c--]; c], {n, 0, 90}] (* Harvey P. Dale, Sep 20 2022 *)
CROSSREFS
Sequences related to palindromic floor and ceiling: A175298, A206913, A206914, A261423, A262038, and the large block of consecutive sequences beginning at A265509.
Sequence in context: A337978 A332713 A017862 * A254926 A155919 A265540
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Dec 09 2015
STATUS
approved