login
A043156
Numbers k such that 0 and 5 occur juxtaposed in the base-8 representation of k but not of k-1.
0
40, 69, 104, 133, 168, 197, 232, 261, 296, 320, 360, 389, 424, 453, 488, 517, 552, 581, 616, 645, 680, 709, 744, 773, 808, 832, 872, 901, 936, 965, 1000, 1029, 1064, 1093, 1128, 1157, 1192, 1221, 1256, 1285, 1320, 1344, 1384
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {0, 5}]>0||SequenceCount[ IntegerDigits[ n, 8], {5, 0}]>0, 1, 0], {n, 1500}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Sep 22 2023 *)
CROSSREFS
Cf. A007094.
Sequence in context: A355778 A235283 A134216 * A039333 A043936 A251123
KEYWORD
nonn,base
STATUS
approved