OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[ IntegerDigits[ n, 9], 2, 1], {1, 8}], 1, 0], {n, 3000}], 2, 1], {1, 0}]] (* Harvey P. Dale, Mar 13 2015 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {1, 8}]>0, 1, 0], {n, 3000}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Jan 30 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved