Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This number:

N[Pi^(Im[ZetaZero[2]]/Im[ZetaZero[3]]), 40]

entered for example in Wolfram Alpha or Mathematica gives:


which has 7 repeating 7:s.

What is the probability of that happening or is it just as probable as any other number?

Dividing 2.617355378194777777793535722830190802923 with 589:

N[Pi^(Im[ZetaZero[2]]/Im[ZetaZero[3]]), 40]/589

amplifies this effect:


with 10 repeating 4:s.

share|cite|improve this question
up vote 3 down vote accepted

If you pick a random sequence of 40 decimal digits, then the probably of getting a run of at least $m$ 7s can be calculated using the formula given in the answer to this question. You can consider the choice of digits as Bernoulli trials with outcomes of 7 with probability 0.1 or not-7 with probability 0.9. For $p=0.1,m=7,n=40$ this is about $3\times 10^{-6}$ and hence the probability that there is a sequence of seven or more of any digit is about $3\times 10^{-5}$.

As you consider more digits ($n\to \infty$) the probability goes to 1 for a random choice of digits, and likely for any specific number you choose, since there's a good chance it is normal.

share|cite|improve this answer
Somewhere along the line we needed to assume the digits appear at random independently and uniformly. The conclusion about converging to 1 as n approach infinity would work for non-uniform distributions. The exact probability calculation would differ somewhat. – Michael Chernick Jun 12 '12 at 2:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.