login
A043153
Numbers k such that 0 and 2 occur juxtaposed in the base-8 representation of k but not of k-1.
0
16, 66, 80, 128, 144, 194, 208, 258, 272, 322, 336, 386, 400, 450, 464, 514, 528, 578, 592, 640, 656, 706, 720, 770, 784, 834, 848, 898, 912, 962, 976, 1024, 1090, 1104, 1152, 1168, 1218, 1232, 1282, 1296, 1346, 1360, 1410
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {0, 2}]>0|| SequenceCount[ IntegerDigits[n, 8], {2, 0}]>0, 1, 0], {n, 1500}], {0, 1}][[All, 2]] (* Harvey P. Dale, Apr 10 2022 *)
CROSSREFS
Cf. A007094.
Sequence in context: A041494 A057689 A045024 * A039330 A043933 A329530
KEYWORD
nonn,base
STATUS
approved