OFFSET
1,1
MATHEMATICA
Select[Range[1000], MemberQ[Partition[IntegerDigits[#, 5], 2, 1], {4, 2}]&&!MemberQ[Partition[IntegerDigits[#+1, 5], 2, 1], {4, 2}]&] (* Harvey P. Dale, Mar 13 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {4, 2}]>0, 1, 0], {n, 1000}], {1, 0}][[All, 1]] (* Harvey P. Dale, Aug 24 2021 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved