OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {3, 4}]>0 || SequenceCount[ IntegerDigits[n, 7], {4, 3}]>0, 1, 0], {n, 1200}], {0, 1}][[;; , 2]] (* Harvey P. Dale, May 09 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved