Probability of Spontaneous Knots
versus string length
Read the paper
GitHub