The problem is as follows:
We pick a real number p in $(0,1)$ randomly and uniformly, then construct a coin such that when tossed, $P(H) =p$ and $P(T) = 1- p$.
Now fix a positive integer $n$, if we were to toss the coin $n$ times (independently), what is the probability that exactly $k$ ($0 \leq k \leq n$) heads occur?
I have done this by evaluating the integral $$\int_0^1{{n \choose k}p^k(1-p)^{n-k}}dp = \frac {1}{n+1}.$$
However, the evaluation was far from easy and I had to use the "snake oil" method mentioned in the book "generatingfunctionology" by Wilf.
Yet this result is so simple and beautiful, in particular, it is very suprising to me that the probability is independent of $k$. I tend to believe there must be a simpler reasoning for this, something I failed to notice that can draw the conclusion "the probability is independdent of $k$". Can someone show me such a way(if there is one)?