login
A043877
Numbers k such that 0 and 1 occur juxtaposed in the base-3 representation of k but not of k+1.
1
3, 12, 19, 21, 39, 46, 48, 55, 59, 66, 73, 75, 120, 127, 129, 136, 140, 147, 154, 156, 163, 167, 179, 181, 183, 201, 208, 210, 217, 221, 228, 235, 237, 363, 370, 372, 379, 383, 390, 397, 399, 406, 410, 422, 424, 426, 444, 451, 453
OFFSET
1,1
LINKS
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 3], {0, 1}]>0||SequenceCount[IntegerDigits[n, 3], {1, 0}]>0, 1, 0], {n, 500}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Dec 12 2024 *)
CROSSREFS
Cf. A007089.
Sequence in context: A052637 A120623 A158517 * A217697 A134965 A117554
KEYWORD
nonn,base
STATUS
approved