a(n) is the smallest nonnegative integer m such that m! contains a string of exactly n consecutive 8's, or -1 if no such m exists.

A254716

a(n) is the smallest nonnegative integer m such that m! contains a string of exactly n consecutive 8's, or -1 if no such m exists.

Terms

    a(0) =0a(1) =11a(2) =9a(3) =16a(4) =27a(5) =482a(6) =532a(7) =4731a(8) =2061a(9) =22402a(10) =50381a(11) =187611a(12) =757618a(13) =591042a(14) =5157267a(15) =9003765

External references