I've seen sites that pick numbers randomly, but can't find anything that will select a set amount from a given list. IE, given 1-100, I'd like to pick 30 random numbers from 1-100. I could program something to do this, but this I don't want to get more involved in this particular project than necessary. I thought there would be something out there already, but haven't found anything. Does anyone know of anything like this?
|
closed as off topic by Eight Days of Malaise, Sathya♦ Feb 4 at 4:29
Questions on Web Applications Stack Exchange are expected to relate to web applications within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
Look to any number of "dice-rolling" apps. The Dungeons & Dragons Dice Roller offers you the ability to roll any number of dice, including d100 (that's a 100-sided die). I just did it and generated this sequence: 53,63,21,15,42,59,71,52,34,98,60,36,21,64,10,51,25,41,54,9,44,27,16,64,16,82,89,44,83,8. There are lots of these generators out there. Role-playing games are popular and most of them require lots of random number generation. There's also the cleverly named Random.org. They have a bunch of different number generators. The tool you want would be the Integer Generator. You can define the range, the number of results, and even the number of columns the results are formatted to. I generated this sequence:
On the same site, the Random Sequence Generator does basically the same thing, but doesn't allow numbers to repeat. (Like drawing numbers from a hat, each is discarded after use.) |
||||
|
|
Wolfram Alpha does this. Here is an example of picking 10 random integers between 1 and 20. |
|||
|
|