Digits of Pi

  • Thread starter STAii
  • Start date
  • #1
333
1

Main Question or Discussion Point

I heard there is a certain way to find a certain digit of Pi without knowing the digits before it.
Now i tried to make a search on it, and i got some pages, but frankly couldn't understand anything in them !
So i would appreciate if someone could explain to me in a simple way how to figure out a certain digit of Pi without the digits before.
Thanks in advance.
 

Answers and Replies

  • #2
Integral
Staff Emeritus
Science Advisor
Gold Member
7,198
55
I have seen this algorithm on the web, I do not have a link and cannot point you to it, but it does exist.

One thing it was not, was simple. It was a very complex algorithm that I could not even begin to sort out. I do not think there is a simple way to do it, sorry.
Staii,
Glad to see that you are still posting.
 
  • #3
181
1
I also need that, would please try to remember where you got that ???
 
  • #4
653
0
just check mathworld. http://mathworld.wolfram.com/Bailey-Borwein-PlouffeAlgorithm.html [Broken]
 
Last edited by a moderator:
  • #5
Integral
Staff Emeritus
Science Advisor
Gold Member
7,198
55
That is not the algorithm I saw, nor is it clear to me exatly how the linked one works. Is n the number of the digit you need to generate? if so it means you must sum to n, how does that differ from generating all preceding digits?
 
  • #6
653
0
Originally posted by Integral
That is not the algorithm I saw, nor is it clear to me exatly how the linked one works. Is n the number of the digit you need to generate? if so it means you must sum to n, how does that differ from generating all preceding digits?
that infinite sum there has a (1/16)n. that means that the nth term of the series is the nth digit in a hexadecimal representation. in general, what is meant by a representation in some base is an infinite sum with a geometric term in the base of the number.
 
  • #7
Hurkyl
Staff Emeritus
Science Advisor
Gold Member
14,916
19
The bibliography on that link links to a page (I think by the inventors) that describes the formula and how one can actually go about evaluating it fairly quickly).

Hurkyl
 
  • #8
333
1
Umm ...
Well the problem i faced was only in knowning how to apply the formula !
I just got this idea yesterday, i can program an application that can use ONLY the proccessing power that is not used in each one's PC (the Idle Proccess) to make something usefull.
So the first thing i could thing of, was caclulating Pi.
And, it will be inpractical to use any formula that depends on preceeding data (iow, forumlas that do not calculate each digit alone), cause there will be thousands of computers working at the same time, but not connected.
So each computer has to work on a certain range of digits, without depending on previous data (which may be not completed yet !).
Anyways ... i will try to make some more research, and will come back here to discuss it (and ask for help for sure :smile:).
Staii,
Glad to see that you are still posting.
Thank you Integral, people like you on the forums are those who keep me going on :smile:.
 

Related Threads on Digits of Pi

  • Last Post
Replies
24
Views
3K
Replies
5
Views
2K
Replies
6
Views
2K
Replies
7
Views
10K
Replies
2
Views
4K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
4
Views
6K
  • Last Post
Replies
3
Views
759
  • Last Post
Replies
10
Views
2K
  • Last Post
Replies
2
Views
578
Top