Question on Pi



Hi all,

I'm looking for an algorithm that allows to calculate
a specific digit of Pi directly, whereas the only
parameter is the position of the digit.

e.g. f(2) = 4, f(3) = 1, ... and so on.
| |
int int

Does such an algorithm exist at all?
If yes, do you have a Java implementation by chance?

Thanks in advance,

Andre

.



Relevant Pages

  • Re: Question on Pi
    ... I'm looking for an algorithm that allows to calculate ... parameter is the position of the digit. ...
    (sci.math)
  • Re: Question on Pi
    ... I'm looking for an algorithm that allows to calculate ... parameter is the position of the digit. ... Bob Kolker ...
    (sci.math)
  • Re: (N+1)^N/N^N
    ... He said that he'd found an algorithm that computes the ... n-th digit of g without computing any other digits. ... David C. Ullrich ... Prev by Date: ...
    (sci.math)
  • Re: (N+1)^N/N^N
    ... >>>You complained that no algorithm could write down e. ... There exists algorithm which writes out googolplex because it is ... The last digit of googolplex is a definite value, ... Prev by Date: ...
    (sci.math)
  • Re: No Set Contains Every Computable Natural (was Church-Turing compared to Zuse-Fredkin thesis)
    ... Russell is right about Turing saying this, ... You might not want to call this an algorithm which has ... decimal representation of x digit by digit. ...
    (comp.theory)