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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104841 The first n-digit prime occurring in the decimal expansion of Pi, A000796. 7
3, 31, 653, 4159, 14159, 314159, 1592653, 28841971, 795028841, 5926535897, 93238462643, 141592653589, 9265358979323, 23846264338327, 841971693993751, 8628034825342117, 89793238462643383, 348253421170679821 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

For the next n-digit primes, see the b-file (link).

Sequence A198344 gives the position of these primes withing the digits of Pi.

LINKS

M. F. Hasler, Table of n, a(n) for n = 1..162

PROG

(PARI) default(realprecision, 2000); A104841(n)={for( c=0, default(realprecision)-n-2, Pi\.1^c%10 & ispseudoprime(p=Pi\.1^(n+c-1)%10^n) & return(p)); error("Please increase default(realprecision) to calculate A104841("n").")}  \\ - M. F. Hasler, Oct 23 2011

CROSSREFS

Cf. A104819 - A104842.

Sequence in context: A229258 A222895 A105293 * A092552 A196457 A136370

Adjacent sequences:  A104838 A104839 A104840 * A104842 A104843 A104844

KEYWORD

nonn,base

AUTHOR

Zak Seidov, Mar 27 2005

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified July 23 06:43 EDT 2017. Contains 289686 sequences.