I have a total number, 300,000. I want to distribute this number over a list of items, where each item has a weight between 1 and 3. The sum of all numbers should add up back to 300,000. I tried looking for things like weighted distributions, but I'm not sure if that's what this is called.