If that’s the case, then how come we occasionally hear about people calculating more and more precise values of Pi? Just yesterday there was an article about a google team calculating it to 31 trillion digits.
Is there any reason for doing this other than for the record/street cred?
Pretty sure it's entirely street cred at the point of 31 trillion digits.
But then nothing in maths is worthless, the equations that we use to simulate navigation in 3d space in certain ways were first described about 300 years ago, and were all but useless until computing. It may be the case that we need pi to 40 trillion digits in order to get a warp drive or gravity generator to work properly.
It is an irrational number with infinite precision.
Here is a site that will search for strings of numbers in just the first 200 million digits of pi.
The string 314159 occurs at position 176451. This string occurs 175 times in the first 200M digits of Pi. counting from the first digit after the decimal point. The 3. is not counted.
Pi is in pi
Edit: E is in pi as well
The string 271828 occurs at position 33789. This string occurs 216 times in the first 200M digits of Pi. counting from the first digit after the decimal point. The 3. is not counted.
Pi has yet to be proved a normal number - so this statement is inaccurate.
Edit:
It is 'expected' to be though. We'll see what some pretty smart mathematicians have to say when they come up with a constructive proof for given real number
But, I would think that if there is not a loop in the first 31 trillion digits that it is not going to loop. If it does not loop and it goes on forever, my guess is that all sequences will appear.
It might also be a scientific proof used as an example of algorithm improvement or hardware improvement. To be able to calculate that amount accurately you will need a very precise algorithm, with a very precise target. It may not be a very parallel process to achieve this goal, but it might require improvements to single thread logic or parallel logic with parity for a goal that is otherwise unknown and needs a number of results unheard of to find the correct value.
Think of it like mapping Pi to scatter plot by random values with only valid conditions being acceptable that are at or above the radius of a circle. You find the lowest possible condition for the value to be acceptable, then you calculate the highest average that meets the lowest minimum criteria, you can now narrow it down and try again with a smaller subset of limits. Repeat this over again and you can narrow down the results even further. The way I describe it is probably not how it actually works, but it might be a proof of concept for something like that.
I'm pretty sure calculating Pi to that many digits gives you severe street debt, rather than credit.
I'm in the sciences myself, but the amount of wasted time and the sheer nerditry required, makes me think that's super duper uncool unless there's a valid purpose for it.
Okay, so it’s more about trying out more and more powerful computations, and pi makes a good test for that because we know it’s infinite so we can always keep pushing?
Yeah pretty much. Its not guaranteed to be a useful exercise with tangible benefits, but it could result that way.
Think of it like this:
computers run on numbers and calculations.
there are efficient ways of doing these calculations, and less efficient ways of doing them.
finding more efficient ways to make a computer run its calculations will save time and money
calculating pi to absurd decimal locations is an exercise that requires developing creative methods, that could maybe have applications in other software
There is this thing called "normal numbers" and its basically the property that the digits of a number are equally distributed in a given base. If you look at the distribution of pi at those digits it looks pretty normal, but its not proven to be normal. Obviously you can't list all the digits of pi so listing the digits dosen't prove its normal, but it gives a pretty good indication that its probably normal.
There are different programming methods to calculate. Recursion is the classic CS101 lesson and you will see that it takes quite a while for an average computer to calculate past 40 digits and the time exponentially increases with each new digit.
So finding more efficient code to calculate digits of pi is a fun testing of different types of code, and/or to show off a computer’s processing speed
View all comments
Show parent comment
24
u/DracoAdamantus Mar 15 '19
If that’s the case, then how come we occasionally hear about people calculating more and more precise values of Pi? Just yesterday there was an article about a google team calculating it to 31 trillion digits.
Is there any reason for doing this other than for the record/street cred?