It's possible using mathematical formula to calculate frequency of distribution of digits of $\pi$ or other constant?
I know that there are already plenty of data available with statistics and you can extract that information, but it's actually possible to calculate it using mathematics? If yes, how?
E.g. how many zeros are in the first 1 million digits of $\pi$ or similar.
For $\pi$, no way is known other than by computing the digits and counting.
Rational numbers have periodic decimal expansions and so the number of times any particular digit shows up can easily be counted. Irrational numbers can be explicitly constructed to have a decimal expansion with any given distribution of digit frequencies. It's still an open question whether "natural" irrational numbers like $\pi$ or $e$ have equally-distributed digits, though substantial numerical evidence supports that hypothesis and you'd be hard-pressed to find a mathematician willing to bet against it.