login
A043185
Numbers k such that 0 and 6 occur juxtaposed in the base-9 representation of k but not of k-1.
1
54, 87, 135, 168, 216, 249, 297, 330, 378, 411, 459, 486, 540, 573, 621, 654, 702, 735, 783, 816, 864, 897, 945, 978, 1026, 1059, 1107, 1140, 1188, 1215, 1269, 1302, 1350, 1383, 1431, 1464, 1512, 1545, 1593, 1626, 1674, 1707
OFFSET
1,1
LINKS
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {0, 6}]>0||SequenceCount[ IntegerDigits[ n, 9], {6, 0}]>0, 1, 0], {n, 1800}], {0, 1}][[;; , 2]] (* Harvey P. Dale, May 21 2024 *)
CROSSREFS
Cf. A007095.
Sequence in context: A365262 A114817 A045005 * A039362 A043965 A180150
KEYWORD
nonn,base
STATUS
approved