login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A003617 Smallest n-digit prime.
(Formerly M2008)
45
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

R. G. Wilson, v., Extract from letter to N. J. A. Sloane, May 20 1994, with annotated scanned copy of page 278 of O'Hara article.

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^(n-1)) \\ 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

AUTHOR

N. J. A. Sloane, Mira Bernstein

EXTENSIONS

More terms from Stefan Steinerberger, Apr 08 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 19 08:25 EST 2018. Contains 318245 sequences. (Running on oeis4.)