You have to get into the Dirichlet distribution to make this work [there are other methods]. In any case, without going to much into the weeds, here's an image of 40 pieces of string, each cut into 20 pieces at random [and each string is sorted from smallest cut to largest].

#math 🧵
Post image

Comments