login
A043933
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, 135, 144, 194, 208, 258, 272, 322, 336, 386, 400, 450, 464, 514, 535, 578, 592, 647, 656, 706, 720, 770, 784, 834, 848, 898, 912, 962, 976, 1087, 1090, 1104, 1159, 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}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 15 2017 *)
CROSSREFS
Cf. A007094.
Sequence in context: A045024 A043153 A039330 * A329530 A218646 A243956
KEYWORD
nonn,base
STATUS
approved