In total there are (2n+1) fair coins where P(heads)=P(Tails)=12
Total number of elements in the sample set will be
=22n+1
Now
P0 implies both A, and B have equal heads.
This is the middle value,
i,e the middle term in the expansion of (1+x)2n+1|x=1|
Middle term will be
=Tn+1 and Tn+2 term.
Hence coefficient will be
=2n+1Cn+1
=2n+1Cn
Hence probability
=2n+1Cn+122n+1
=2n+1Cn22n+1
Now consider B has n heads, Hence A must have n+2 heads
P2
=2n+1Cn+222n+1
=2n+1Cn−122n+1
And
Pn will be
2n+1C2n22n+1 ... considering B has n heads.
=2n+122n+1
Also
∑K≥1(Pk)
=22n+1−122n+1
=22n22n.2
=12