OFFSET
1,1
MATHEMATICA
Select[Range[3000], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {2, 7}]&&!MemberQ[ Partition[ IntegerDigits[#-1, 9], 2, 1], {2, 7}]&] (* Harvey P. Dale, Sep 30 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {2, 7}]>0, 1, 0], {n, 3000}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Mar 19 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved