I use earphones to listen to music. The cord connected to the earphones often gets entangled in my pocket and makes a knot, which I always find hard to untangle.
How can I define and calculate the probability that my cord spontaneously makes a knot?
Thank you.