OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {2, 8}]>0|| SequenceCount[ IntegerDigits[n], {8, 2}]>0, 1, 0], {n, 2100}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Sep 30 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved