Primes and the Geometric Distribution

AI Thread Summary
The discussion centers on calculating the probability that the first heads in a fair coin flip occurs on a prime number, represented by the summation of 0.5 raised to the power of prime numbers. This series converges quickly to approximately 0.41468. Participants express uncertainty about whether this value is irrational or can be expressed as a fraction of known constants. While the series is confirmed to be convergent, there is skepticism regarding the availability of a precise value or further insights into the function related to prime numbers. Overall, the conversation highlights the complexity and intrigue surrounding the mathematical properties of prime-related series.
CTS
Messages
19
Reaction score
0
Given the probability of flipping a heads with a fair coin is \frac{1}{2}, what is the probability that the first heads occurs on a prime number?
 
Physics news on Phys.org
\sum_{n=1}^\infty \left(\frac{1}{2}\right)^{p_n}

where p_n is the nth prime number.

Which gives a value of about 0.41468
 
Last edited:
Let {p_i} be the sequence of primes. The probability you're looking for would be:

\sum _{i=1} ^{\infty} 0.5^{p_i}
 
Yes, I realize that the answer is this summation (\sum _{primes} ^{} 1/2^p), which clearly converges very quickly (to about .4146825...). Anyone have any ideas on whether the answer is irrational, or even expressable as a fraction of constants (like \sum _{n=1} ^{\infty} 1/n^2. Anyone know anything else about f(x)=\sum _{primes} ^{} 1/x^p?
 
I don't really know what more you want, if we wee able to ask your question precisely we'd be to busy polishing our Fields medals to post on Physics Forums.

We can say the series is convergant, but I don't think there's too much more we can say.
 
There are a lot of products and sums involving the nth primes that converge very quickly to a value, there are even somewhoe precise value can be known, but I'm pretty ceratin that this isn't one of them.
 
If you had posted this question several centuries ago, I might have said:

"the sum approaches \sqrt{2} - 1 but there is not enough room in this forum for me to prove it. "

and gotten away with that !
 

Similar threads

Back
Top