Let S(n,k) denote the number formed by concatenating the decimal numbers 1,2,3,...,k, but omitting n; a(n) is the smallest k for which S(n,k) is prime, or -1 if no term in S(n,*) is prime.

A262300

Let S(n,k) denote the number formed by concatenating the decimal numbers 1,2,3,...,k, but omitting n; a(n) is the smallest k for which S(n,k) is prime, or -1 if no term in S(n,*) is prime.

Terms

    a(0) =2a(1) =3a(2) =7a(3) =9a(4) =11a(5) =7a(6) =11a(7) =1873a(8) =19a(9) =14513a(10) =13a(11) =961

External references