How can I generate numbers that fall into power-law distribution?
Here’s a page that shows how to generate random numbers in a Gaussian distribution, you’d have to be able to do a transform from gaussian to your preferred distribution, but it might be easier than crafting it from scratch. It’s loading very slowly for me, so here’s the google cache version.