OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[5000], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {6, 7}] && !MemberQ[Partition[IntegerDigits[#-1, 9], 2, 1], {6, 7}]&] (* Harvey P. Dale, May 12 2012 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {6, 7}]>0, 1, 0], {n, 3000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 02 2021 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved