English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know that their is strings like 0123456789, 333, 444, and so on.. but how are you supposed to know which position it is.. like a number like 102793.. how would you find that position?
Best answer = 10 points

2007-07-31 19:51:50 · 3 answers · asked by Anonymous in Science & Mathematics Mathematics

3 answers

Actually (sorry first poster), an algorithm which can calculate the nth digit of pi without knowing all the digits ahead of it was discovered recently. Here is the Wikipedia article about it:

http://en.wikipedia.org/wiki/Bailey-Borwein-Plouffe_formula

However, that isn't exactly your question. If you are looking for, say, the string "123456789", the first poster is correct that the only way to find it is to start with a really long decimal expansion and hope it is in there.

How many digits do you need? A nine-digit sequence would be one of one billion possible nine-digit sequences. If your pi expansion is one billion digits long, there is about a 63% chance you'll find it.

2007-07-31 20:11:12 · answer #1 · answered by Anonymous · 2 0

Pi doesn't follow any pattern. The only way to find sequences is to start calculating digits of pi and look through them (with a computer program, of course) until you eventually come across the one you want.

For each digit you add to the sequence you're looking for, the average number of digits you'll have to look through to find it will be 10 times greater.

2007-08-01 03:05:17 · answer #2 · answered by lithiumdeuteride 7 · 0 0

The Nth digit of Pi is not directly calculatable (nor is any irrational number), so you must use a pre-calculated listing:
http://www.angio.net/pi/piquery

2007-08-01 02:59:59 · answer #3 · answered by MooseBoys 6 · 0 0

fedest.com, questions and answers