Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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?

share|improve this question

closed as off topic by Eight Days of Malaise, Sathya Feb 4 '13 at 4:29

Questions on Web Applications Stack Exchange are expected to relate to web applications within the scope defined by the community. 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 reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
add comment

2 Answers 2

up vote 4 down vote accepted

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:

56  57  34  40  81
85  72  23  27  35
23  95  55  79  71
34  6   10  4   54
99  43  68  53  71
57  40  90  3   22

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.)

share|improve this answer
    
This is perfect. I looked at Random.org. Don't know how I missed it. Thanks! –  Tim Coker Aug 3 '11 at 13:28
add comment

Wolfram Alpha does this. Here is an example of picking 10 random integers between 1 and 20.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.