login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A030997
Smallest prime which is a concatenation of n consecutive primes.
8
2, 23, 5711, 2357, 711131719, 113127131137139149, 29313741434753, 107109113127131137139149, 211223227229233239241251257, 691701709719727733739743751757, 2329313741434753596167
OFFSET
1,1
LINKS
EXAMPLE
a(5) = 711131719 is the smallest prime which is the concatenation of five consecutive primes 7, 11, 13, 17 and 19.
PROG
(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
CROSSREFS
Cf. A030461 (primes that are concatenations of two primes), A030469 (three primes), A030473 (four primes), A086041 (five primes).
Sequence in context: A087388 A117507 A068656 * A090511 A369993 A114256
KEYWORD
nonn,base
STATUS
approved