OFFSET
1,1
MATHEMATICA
Select[Range[3000], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {7, 3}] && !MemberQ[Partition[IntegerDigits[#-1, 9], 2, 1], {7, 3}]&] (* Harvey P. Dale, Sep 16 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {7, 3}]>0, 1, 0], {n, 3000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 28 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved