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