OFFSET
1,1
MATHEMATICA
Select[Range[4000], MemberQ[Partition[IntegerDigits[#], 2, 1], {8, 6}]&& !MemberQ[Partition[IntegerDigits[#-1], 2, 1], {8, 6}]&] (* Harvey P. Dale, Oct 02 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {8, 6}]>0, 1, 0], {n, 4000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 04 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved