OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {0, 7}]> 0 || SequenceCount[IntegerDigits[n, 8], {7, 0}]>0, 1, 0], {n, 1500}], {1, 0}][[All, 1]] (* Harvey P. Dale, Oct 31 2021 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved