OFFSET
1,1
MATHEMATICA
Select[Range[2900], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {4, 8}] && !MemberQ[Partition[IntegerDigits[#-1, 9], 2, 1], {4, 8}]&] (* Harvey P. Dale, Apr 18 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {4, 8}]>0, 1, 0], {n, 3000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 30 2019 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved