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!)
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

Table of n, a(n) for n=1..11.

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

Adjacent sequences:  A065984 A065985 A065986 * A065988 A065989 A065990

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 13 06:15 EST 2018. Contains 318082 sequences. (Running on oeis4.)