|
|
A030997
|
|
Smallest prime which is a concatenation of n consecutive primes.
|
|
8
|
|
|
2, 23, 5711, 2357, 711131719, 113127131137139149, 29313741434753, 107109113127131137139149, 211223227229233239241251257, 691701709719727733739743751757, 2329313741434753596167
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|