login
A043964
Numbers k such that 0 and 5 occur juxtaposed in the base-9 representation of k but not of k+1.
0
45, 86, 126, 167, 207, 248, 288, 329, 369, 413, 450, 491, 531, 572, 612, 653, 693, 734, 782, 815, 855, 896, 936, 977, 1017, 1058, 1098, 1142, 1179, 1220, 1260, 1301, 1341, 1382, 1422, 1463, 1511, 1544, 1584, 1625, 1665, 1706
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {0, 5}]>0 || SequenceCount[IntegerDigits[n, 9], {5, 0}]>0, 1, 0], {n, 2000}], {1, 0}][[All, 1]] (* Harvey P. Dale, Nov 06 2021 *)
CROSSREFS
Cf. A007095.
Sequence in context: A063343 A043184 A039361 * A140380 A183625 A184548
KEYWORD
nonn,base
STATUS
approved