login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A043067
a(n)=(s(n)+5)/8, where s(n)=n-th base 8 palindrome that starts with 3.
0
1, 4, 25, 26, 27, 28, 29, 30, 31, 32, 193, 202, 211, 220, 229, 238, 247, 256, 1537, 1545, 1553, 1561, 1569, 1577, 1585, 1593, 1602, 1610, 1618, 1626, 1634, 1642, 1650, 1658, 1667, 1675, 1683, 1691, 1699, 1707, 1715, 1723
OFFSET
1,2
MATHEMATICA
b8s3Q[n_]:=Module[{idn=IntegerDigits[n, 8]}, idn[[1]]==3&&idn== Reverse[ idn]]; (#+5)/8&/@Select[Range[15000], b8s3Q] (* Harvey P. Dale, Dec 26 2021 *)
CROSSREFS
Sequence in context: A107734 A302624 A238515 * A289273 A309056 A095970
KEYWORD
nonn,base
STATUS
approved