OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {1, 8}]>0||SequenceCount[IntegerDigits[n], {8, 1}]>0, 1, 0], {n, 2500}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Dec 11 2024 *)
CROSSREFS
KEYWORD
nonn,base,changed
AUTHOR
STATUS
approved