A087403 a(n) = smallest prime of the form 10*K(n) + 1, where K is a number obtained by concatenation of n with itself, or 0 if no such prime exists.
11, 2221, 31, 41, 555555555551, 61, 71, 881, 991, 101, 1111111111111111111, 1212121, 131, 14141414141, 151, 1616161, 1717171717171717171717171717171, 181, 191, 20201, 211
Offset: 1
Examples
a(2) = 2221 is a prime but 21 and 221 are composite.
Comments