login
Largest base-8 palindrome m <= n, written in base 10.
0

%I #8 Sep 20 2022 18:10:19

%S 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,

%T 27,27,27,27,27,27,27,36,36,36,36,36,36,36,36,36,45,45,45,45,45,45,45,

%U 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

%N Largest base-8 palindrome m <= n, written in base 10.

%t Table[Module[{c=n},While[IntegerDigits[c,8]!=Reverse[IntegerDigits[c,8]],c--];c],{n,0,90}] (* _Harvey P. Dale_, Sep 20 2022 *)

%Y Sequences related to palindromic floor and ceiling: A175298, A206913, A206914, A261423, A262038, and the large block of consecutive sequences beginning at A265509.

%K nonn,base

%O 0,3

%A _N. J. A. Sloane_, Dec 09 2015