login
This site is supported by donations 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; internal format)
OFFSET

1,1

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 (rgwv(AT)rgwv.com), Dec 10 2001

EXTENSIONS

8980 from Hans Havemann, Jul 23, 2006

106817 from Hans Havermann (gladhobo(AT)teksavvy.com), Sep 06 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 13 20:26 EST 2012. Contains 205553 sequences.