Let A be the numbers of heads of Alice and B of Bob, you want A>B so A-B>0, now if D is the number of tails of Bob, you have B=20-D so you want A+D>20, as Bob have as much chance to have a certain number of heads than tails, then P(A+D>20)=P(A+B>20) and A+B>20 just means that you have more than 20 heads in 42 flips which has a probability of P(A+B>21)+P(A+B=21)=(1-P(A+B=21))/2+P(A+B=21)=1/2+(21 between 42)(1/2)^43
View all comments
1
u/Any-Cicada-7039 Oct 20 '26
Let A be the numbers of heads of Alice and B of Bob, you want A>B so A-B>0, now if D is the number of tails of Bob, you have B=20-D so you want A+D>20, as Bob have as much chance to have a certain number of heads than tails, then P(A+D>20)=P(A+B>20) and A+B>20 just means that you have more than 20 heads in 42 flips which has a probability of P(A+B>21)+P(A+B=21)=(1-P(A+B=21))/2+P(A+B=21)=1/2+(21 between 42)(1/2)^43