ScratchData LogoScratchData
Back to mres's profile

sock probability problem

MRmres•Created December 23, 2017
sock probability problem
47
30
598 views
View on Scratch

Instructions

A friend posed the following problem: If you do your laundry with 18 unique pairs of socks, and you randomly grab 15 individual socks out of the dryer, what is the chance that you will not have any pairs? I created this project to simulate this situation. Just click the Green Flag to run the simulation, over and over. (Want to make the simulation run faster? Hide the list monitors by clicking the "run faster" button.)

Description

Thanks to Ken Loveday for posing this problem. I ran 100,000 trials, and there were no pairs 474 times (0.47%). An even rarer occurrence was to get 7 pairs. That happened only 12 times in 100,000 trials (0.012%).

Project Details

Project ID195131303
CreatedDecember 23, 2017
Last ModifiedSeptember 12, 2020
SharedDecember 23, 2017
Visibilityvisible
CommentsAllowed