login
A043976
Numbers k such that 2 and 4 occur juxtaposed in the base-9 representation of k but not of k+1.
0
22, 38, 103, 119, 184, 206, 265, 281, 350, 362, 427, 443, 508, 524, 589, 605, 670, 686, 751, 767, 832, 848, 913, 935, 994, 1010, 1079, 1091, 1156, 1172, 1237, 1253, 1318, 1334, 1399, 1415, 1480, 1496, 1561, 1577, 1642, 1664
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {2, 4}]>0 || SequenceCount[ IntegerDigits[n, 9], {4, 2}]>0, 1, 0], {n, 2000}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Feb 10 2019 *)
CROSSREFS
Cf. A007095.
Sequence in context: A078612 A039373 A043196 * A131196 A075217 A188156
KEYWORD
nonn,base
STATUS
approved