login
A043180
Numbers k such that 0 and 1 occur juxtaposed in the base-9 representation of k but not of k-1.
0
9, 81, 163, 171, 244, 252, 325, 333, 406, 414, 487, 495, 568, 576, 649, 657, 729, 892, 900, 973, 981, 1054, 1062, 1135, 1143, 1216, 1224, 1297, 1305, 1378, 1386, 1459, 1467, 1539, 1621, 1629, 1702, 1710, 1783, 1791, 1864
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {0, 1}]>0 || SequenceCount[IntegerDigits[n, 9], {1, 0}]>0, 1, 0], {n, 2000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 08 2020 *)
CROSSREFS
Cf. A007095.
Sequence in context: A207924 A343134 A343104 * A207875 A207678 A207684
KEYWORD
nonn,base
STATUS
approved