login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065987 Numbers n such that the first n binary digits of Pi expressed in decimal forms a prime. 4
2, 23, 31, 35, 124, 323, 2787, 5717, 6506, 8980, 106817 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The first 23 binary digits of Pi (A004601) are 11001001000011111101101 = 6588397 in decimal, which is a prime.
MATHEMATICA
Do[ If[ PrimeQ[ FromDigits[ First[ RealDigits[Pi, 2, n]], 2]], Print[n]], {n, 1, 7000} ]
CROSSREFS
Cf. A004601, A117721 (the primes themselves).
Sequence in context: A090150 A106102 A053232 * A107153 A049544 A049568
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Dec 10 2001
EXTENSIONS
8980 from Hans Havermann, Jul 23 2006
106817 from Hans Havermann, Sep 06 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 16:34 EDT 2024. Contains 371961 sequences. (Running on oeis4.)