

A003617


Smallest ndigit prime.
(Formerly M2008)


43



2, 11, 101, 1009, 10007, 100003, 1000003, 10000019, 100000007, 1000000007, 10000000019, 100000000003, 1000000000039, 10000000000037, 100000000000031, 1000000000000037, 10000000000000061, 100000000000000003, 1000000000000000003
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


REFERENCES

O'Hara, J. Rec. Math., 22 (1990), Table on page 278.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).


LINKS

T. D. Noe, Table of n, a(n) for n=1..200 [Jon E. Schoenfield has confirmed that these are primes using MAGMA, Jan 31 2009]
Eric Weisstein's World of Mathematics, Next Prime


MATHEMATICA

Table[a := 10^n + 1; While[ ! PrimeQ[a], a++ ]; a, {n, 0, 30}] (* Stefan Steinerberger, Apr 08 2006 *)
NextPrime/@(10^Range[0, 20]) (* Harvey P. Dale, May 01 2011 *)


PROG

(PARI) a(n)=nextprime(10^(n1)) \\ Charles R Greathouse IV, Jul 15 2011


CROSSREFS

Cf. A003618, A033873.
Sequence in context: A115062 A062397 A158578 * A114018 A089770 A249447
Adjacent sequences: A003614 A003615 A003616 * A003618 A003619 A003620


KEYWORD

nonn,nice,base,changed


AUTHOR

N. J. A. Sloane, Mira Bernstein


EXTENSIONS

More terms from Stefan Steinerberger, Apr 08 2006


STATUS

approved



