Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

Login

Username

Password

Not registered yet?

#1 2013-02-07 15:57:07

Leroy
Guest

Nth digit of pi

I've heard that there is a function that gives nth digit of pi,is it true?if it is i'd like to know more about it.

#2 2013-02-07 19:54:51

bobbym
Administrator

Offline

Re: Nth digit of pi

Hi;

Yes, it is called a spigot algorithm. It can zero in on the nth digit without having to get all the preceding ones


In mathematics, you don't understand things. You just get used to them.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#3 2013-02-07 23:45:39

Leroy
Guest

Re: Nth digit of pi

Could you please tell me more about it

#4 2013-02-07 23:52:26

bobbym
Administrator

Offline

Re: Nth digit of pi

Hi;

Here is an example of a spigot algorithm being used to get the 50 th digit from ln(2). Process is the same for pi.

http://www.mathisfunforum.com/viewtopic … 19#p229919

To see how pi is done check out the BBP formula right here.

http://en.wikipedia.org/wiki/Bailey-Bor … fe_formula


In mathematics, you don't understand things. You just get used to them.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#5 2013-02-08 01:28:08

Leroy
Guest

Re: Nth digit of pi

Thanks

#6 2013-02-08 02:13:04

bobbym
Administrator

Offline

Re: Nth digit of pi

Hi;

Your welcome.


In mathematics, you don't understand things. You just get used to them.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

#7 2013-02-08 03:11:28

anonimnystefy
Real Member

Offline

Re: Nth digit of pi

Hi bobbym

Is there a way of getting the nth decimal digit of pi by a spigot algorithm?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

#8 2013-02-08 10:52:51

bobbym
Administrator

Offline

Re: Nth digit of pi

Hi;

None that I know of, the BBP is for hexadecimal digits.


In mathematics, you don't understand things. You just get used to them.
Probability is the most important concept in modern science, especially as nobody has the slightest notion what it means.
90% of mathematicians do not understand 90% of currently published mathematics.

Board footer

Powered by FluxBB