Is it possible to generate a set of N numbers between a given min and max that will average to a given mean.
eg-1. Generate a set of 30 numbers from 20 to 650 with an average (mean) of 260.
eg-2. Generate a set of 51 numbers from 360 to 8746 with an average (mean) of 2714.
The resulting set of numbers should rise fairly quickly toward the mean, then flatten out before rising again quickly towards the max. (I think this is called an S-shaped distribution?)
One possibility:
In the example below, I throw out previously generated numbers, but you can choose to keep and only generate data incrementally: