Are the digits in Pi evenly distributed?

weflyhigh

Senior member
Jan 1, 2007
971
1
81
Like, from what math people have calculated so far, is there an even distribution between 1, 2, 3, 4, 5, 6, 7, 8, 9, & 0?
No? What is the breakdown/approximate?

Just curious...
oh, and Happy (early) Pi Day!
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
just download one of those 2gb pi files and write a quick script/program to find out ;)
 

totalcommand

Platinum Member
Apr 21, 2004
2,487
0
0
Originally posted by: weflyhigh
Like, from what math people have calculated so far, is there an even distribution between 1, 2, 3, 4, 5, 6, 7, 8, 9, & 0?
No? What is the breakdown/approximate?

Just curious...
oh, and Happy (early) Pi Day!

google search: "pi even digit distribution"

result number: 1

link: http://mathworld.wolfram.com/PiDigits.html

have fun! use search next time!
 

weflyhigh

Senior member
Jan 1, 2007
971
1
81
Originally posted by: totalcommand
Originally posted by: weflyhigh
Like, from what math people have calculated so far, is there an even distribution between 1, 2, 3, 4, 5, 6, 7, 8, 9, & 0?
No? What is the breakdown/approximate?

Just curious...
oh, and Happy (early) Pi Day!

google search: "pi even digit distribution"

result number: 1

link: http://mathworld.wolfram.com/PiDigits.html

have fun! use search next time!

I tried "pi evenly distributed" into Yahoo search with no easy-to-find luck, but thanks for the link

According to the link, the numbers are evenly distributed

Now, couldn't you use the next digit in pi's sequence as a random number generator for numbers 0-9? Wouldn't this be better than using system clock or whatever else?
 

marketsons1985

Platinum Member
Apr 15, 2000
2,090
0
76
Did a quick SAS analysis with 16k digits, came up with the following:

Digit/ Frequency/ Percent

0 1602 9.78
1 1652 10.08
2 1624 9.91
3 1650 10.07
4 1695 10.35
5 1697 10.36
6 1651 10.08
7 1590 9.70
8 1573 9.60
9 1650 10.07
 

Drakkon

Diamond Member
Aug 14, 2001
8,401
1
0
Originally posted by: weflyhigh
I tried "pi evenly distributed" into Yahoo search with no easy-to-find luck, but thanks for the link

According to the link, the numbers are evenly distributed

Now, couldn't you use the next digit in pi's sequence as a random number generator for numbers 0-9? Wouldn't this be better than using system clock or whatever else?
it may not be efficient but it would work. but for 0-9 i doubt youd see any difference between digits of pi and the number generated any other way.
 

homercles337

Diamond Member
Dec 29, 2004
6,340
3
71
Originally posted by: marketsons1985
Did a quick SAS analysis with 16k digits, came up with the following:

Digit/ Frequency/ Percent

0 1602 9.78
1 1652 10.08
2 1624 9.91
3 1650 10.07
4 1695 10.35
5 1697 10.36
6 1651 10.08
7 1590 9.70
8 1573 9.60
9 1650 10.07

I know what the answer is, but a quick linear regression should show a slope not significantly different from zero. I could do so from your numbers but im lazy.

edit: great work, btw.
 

NiteWulf

Golden Member
Jan 3, 2003
1,112
1
0
It's a non-terminating, non-repeating decimal. Either there's no possible way to calculate the distribution or it so infinitely close to zero no one but a mathematician should be bothered with the answer