login
A043206
Numbers k such that 4 and 5 occur juxtaposed in the base-9 representation of k but not of k-1.
0
41, 49, 122, 130, 203, 211, 284, 292, 365, 369, 441, 454, 527, 535, 608, 616, 689, 697, 770, 778, 851, 859, 932, 940, 1013, 1021, 1094, 1098, 1170, 1183, 1256, 1264, 1337, 1345, 1418, 1426, 1499, 1507, 1580, 1588, 1661, 1669
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {4, 5}]>0||SequenceCount[IntegerDigits[n, 9], {5, 4}]>0, 1, 0], {n, 2000}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Dec 19 2024 *)
CROSSREFS
Cf. A007095.
Sequence in context: A185658 A074485 A039383 * A043986 A124967 A224443
KEYWORD
nonn,base
STATUS
approved