OFFSET
1,1
MATHEMATICA
Select[Range[2300], MemberQ[Partition[IntegerDigits[#, 8], 2, 1], {1, 3}] && !MemberQ[Partition[IntegerDigits[#+1, 8], 2, 1], {1, 3}]&] (* Harvey P. Dale, Oct 10 2013 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {1, 3}]>0, 1, 0], {n, 2300}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Feb 05 2019 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved
