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

A087606

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

Terms

    a(0) =1a(1) =2a(2) =0a(3) =1a(4) =1a(5) =0a(6) =1a(7) =11a(8) =0a(9) =64a(10) =5a(11) =0a(12) =2a(13) =31a(14) =0a(15) =1a(16) =5a(17) =0a(18) =10a(19) =65a(20) =0a(21) =41a(22) =212a(23) =0a(24) =5a(25) =79a(26) =0a(27) =41a(28) =160a(29) =0

External references