cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A043066 a(n) = (s(n)+6)/8, where s(n) = n-th base 8 palindrome that starts with 2.

Original entry on oeis.org

1, 3, 17, 18, 19, 20, 21, 22, 23, 24, 129, 138, 147, 156, 165, 174, 183, 192, 1025, 1033, 1041, 1049, 1057, 1065, 1073, 1081, 1090, 1098, 1106, 1114, 1122, 1130, 1138, 1146, 1155, 1163, 1171, 1179, 1187, 1195, 1203, 1211
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A043022.

Programs

  • Mathematica
    b8pQ[n_]:=With[{idn=IntegerDigits[n,8]},idn==Reverse[idn]&&idn[[1]]==2]; (#+6)/8&/@ Select[ Range[1000],b8pQ] (* Harvey P. Dale, Sep 20 2023 *)

Formula

a(n) = (A043022(n) + 6)/8.