How many coin tosses does it take until you get r Heads AND s Tails?

By Lucy Martinez and Doron Zeilberger


.tex    [YET TO BE WRITTEN]

.pdf   




Written: Nov. 2025


Maple package


Sample Input and Output for CoinToss.txt

Pictures

  • If you want to see a plot of the expected family size as a function of the Probability of having a boy (from 0.1 to 0.9) where the goal is to have 100 boys AND (top) OR(bottom) 100 girls look here

  • If you want to see a plot of the expected family size as a function of the Probability of having a boy (from 0.1 to 0.9) where the goal is to have 100 boys AND (top) OR (bottom) 80 girls look here

  • If you want to see a plot of the expected family size as a function of the Probability of having a boy (from 0.1 to 0.9) where the goal is to have 100 boys AND (top) OR (bottom) 60 girls look here

  • If you want to see a plot of the expected family size as a function of the Probability of having a boy (from 0.1 to 0.9) where the goal is to have 100 boys AND (top) OR (bottom) 40 girls look here

  • If you want to see a plot of the expected family size as a function of the Probability of having a boy (from 0.1 to 0.9) where the goal is to have 100 boys AND (top) OR (bottom) 30 girls look here

  • If you want to see a plot of the expected family size as a function of the Probability of having a boy (from 0.1 to 0.9) where the goal is to have 100 boys AND (top) OR (bottom) 20 girls look here

  • If you want to see a plot of the expected family size as a function of the Probability of having a boy (from 0.1 to 0.9) where the goal is to have 100 boys AND (top) OR (bottom) 10 girls look here


    Articles of Doron Zeilberger

    Doron Zeilberger's Home Page

    Lucy Martinez's Home Page