A030997 Smallest prime which is a concatenation of n consecutive primes.
2, 23, 5711, 2357, 711131719, 113127131137139149, 29313741434753, 107109113127131137139149, 211223227229233239241251257, 691701709719727733739743751757, 2329313741434753596167
Offset: 1
Examples
a(5) = 711131719 is the smallest prime which is the concatenation of five consecutive primes 7, 11, 13, 17 and 19.
Links
- Hans Havermann, Table of n, a(n) for n = 1..100
Crossrefs
Programs
-
PARI
for(k=1,19, for(i=0,1e9, isprime( eval( p=concat( vector( k,j,Str( prime( i+j )))))) & break); print1(p,", ")) \\ M. F. Hasler, Nov 10 2009