OFFSET
1,1
MATHEMATICA
Select[Range[2500], MemberQ[Partition[IntegerDigits[#, 8], 2, 1], {4, 1}] && !MemberQ[Partition[ IntegerDigits[#+1, 8], 2, 1], {4, 1}]&] (* Harvey P. Dale, Sep 08 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {4, 1}]>0, 1, 0], {n, 2500}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Jan 03 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved