login
A044025
Numbers k such that 3 and 9 occur juxtaposed in the base-10 representation of k but not of k+1.
0
39, 93, 139, 193, 239, 293, 339, 399, 439, 493, 539, 593, 639, 693, 739, 793, 839, 893, 939, 993, 1039, 1093, 1139, 1193, 1239, 1293, 1339, 1399, 1439, 1493, 1539, 1593, 1639, 1693, 1739, 1793, 1839, 1893, 1939, 1993, 2039
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {3, 9}]>0 || SequenceCount[ IntegerDigits[n], {9, 3}]>0, 1, 0], {n, 2500}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Mar 26 2023 *)
CROSSREFS
Sequence in context: A063318 A039422 A043245 * A062668 A158339 A211499
KEYWORD
nonn,base
STATUS
approved