Smallest k such that n times concatenation of k with itself followed by a 1 is a prime, or 0 if no such number exists.

A086920

Smallest k such that n times concatenation of k with itself followed by a 1 is a prime, or 0 if no such number exists.

Terms

    a(0) =1a(1) =3a(2) =2a(3) =3a(4) =3a(5) =3a(6) =3a(7) =30a(8) =6a(9) =4a(10) =5a(11) =5a(12) =25a(13) =42a(14) =17a(15) =19a(16) =2a(17) =1a(18) =7a(19) =6a(20) =6a(21) =1a(22) =50a(23) =29a(24) =138a(25) =153a(26) =4a(27) =45a(28) =54a(29) =7

External references