%I #4 Dec 09 2015 20:19:52
%S 0,1,2,3,4,5,6,7,0,9,9,9,9,9,9,9,0,9,18,18,18,18,18,18,0,9,18,27,27,
%T 27,27,27,0,9,18,27,36,36,36,36,0,9,18,27,36,45,45,45,0,9,18,27,36,45,
%U 54,54,0,9,18,27,36,45,54,63,0,65,65,65,65,65,65,65,0,73,73,73,73,73,73,73,0,81,81,81,81,81,81,81
%N a(n) = largest base-8 palindrome m <= n such that every base-8 digit of m is <= the corresponding digit of n; m is written in base 10.
%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