Just a simple program to show how many times each number, 0-9, shows up in one long number.. (PI)
I can provide PI (3.1415...) to 10,000 digits... I need a program written where if I input the number 500, it will tell me how many times in the 500th decimal of PI the 0 comes up, the 1, etc.
For instance, in the first 100 decimal points of PI, there are :
0 ----- 8 times
1 ----- 8 times
2 ----- 12 times
3 ----- 12 times
4 ----- 10 times
5 -----? 8 times
6 -----? 9 times
7 -----? 8 times
8 -----? 12 times
9 -----? 13 times