A114787 Smallest prime of the form: all fives followed by prime(n). a(n) >prime(n). 0 if no such prime exists.
0, 53, 0, 557, 55511, 55555555555555555555555555555555555555555555555555555555555555555555513, 55555517, 5519, 523, 55529, 5531, 0, 541, 55555543, 547, 55555553, 55555559
Offset: 1
Examples
a(5) = 55511, as 511, 5511 are composite, prime(5) = 11. All positive numbers of the form 5*(10^k - 1)/9 - 18 have a factor in the covering set {3, 7, 13, 37}, so a(12) = 0. - _Arkadiusz Wesolowski_, Jun 03 2013
Extensions
More terms from Joshua Zucker, May 06 2006
Edited by T. D. Noe, Oct 30 2008
a(12)-a(17) from Arkadiusz Wesolowski, Jun 03 2013
Comments