Associated Topics || Dr. Math Home || Search Dr. Math

### Calculating Any Digit of Pi

```
Date: 05/16/2000 at 05:46:04
From: August Hiekkamaki
Subject: Calculating any digit of pi

Is there a formula that gives any digit of pi in any given place, like
the fourth digit would be a 1? (3.1415)
^
```

```
Date: 05/16/2000 at 11:27:20
From: Doctor Schwa
Subject: Re: Calculating any digit of pi

No, not other than calculating all the decimal places prior.

However there is a miraculous formula that gives the nth digit in
hexadecimal or binary. It is explained here:

The Miraculous Bailey-Borwein-Plouffe Pi Algorithm
- Steven Finch, Research and Development Team, MathSoft, Inc.
http://pi.lacim.uqam.ca/eng/

- Doctor Schwa, The Math Forum
http://mathforum.org/dr.math/
```
Associated Topics:
Middle School Pi

Search the Dr. Math Library:

 Find items containing (put spaces between keywords):   Click only once for faster results: [ Choose "whole words" when searching for a word like age.] all keywords, in any order at least one, that exact phrase parts of words whole words

Submit your own question to Dr. Math
Math Forum Home || Math Library || Quick Reference || Math Forum Search