OFFSET
1,1
MATHEMATICA
Select[Range[3500], MemberQ[Partition[IntegerDigits[#], 2, 1], {1, 8}] && !MemberQ[Partition[IntegerDigits[#-1], 2, 1], {1, 8}]&] (* Harvey P. Dale, Apr 11 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {1, 8}]>0, 1, 0], {n, 3500}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Oct 05 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved