login
A043192
Numbers k such that 1 and 6 occur juxtaposed in the base-9 representation of k but not of k-1.
0
15, 55, 96, 135, 177, 217, 258, 298, 339, 379, 420, 460, 495, 541, 582, 622, 663, 703, 744, 784, 825, 864, 906, 946, 987, 1027, 1068, 1108, 1149, 1189, 1215, 1311, 1351, 1392, 1432, 1473, 1513, 1554, 1593, 1635, 1675, 1716
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {1, 6}]>0 || SequenceCount[IntegerDigits[n, 9], {6, 1}]>0, 1, 0], {n, 2000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 14 2019 *)
CROSSREFS
Cf. A007095.
Sequence in context: A235533 A039369 A119138 * A043972 A226196 A179741
KEYWORD
nonn,base
STATUS
approved