login
A043984
Numbers k such that 3 and 7 occur juxtaposed in the base-9 representation of k but not of k+1.
0
34, 66, 115, 147, 196, 228, 277, 314, 358, 390, 439, 471, 520, 552, 602, 633, 682, 714, 763, 795, 844, 876, 925, 957, 1006, 1043, 1087, 1119, 1168, 1200, 1249, 1281, 1331, 1362, 1411, 1443, 1492, 1524, 1573, 1605, 1654, 1686
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {3, 7}]>0 || SequenceCount[ IntegerDigits[ n, 9], {7, 3}]>0, 1, 0], {n, 1700}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Jun 22 2024 *)
CROSSREFS
Cf. A007095.
Sequence in context: A125192 A039381 A043204 * A259962 A259894 A259955
KEYWORD
nonn,base
STATUS
approved