I'll take this crazy mixed up challenge.
JavaScript follows, because everybody got JS.
var numberSet = [ 23, 23, 24, 65, 3, 556, 44, 65, 43];
var randomIdx = (Math.floor(Math.random()*numberSet.length));
for (x = 0;x < 100;x++)
{
console.log(numberSet[randomIdx]);
randomIdx = (Math.floor(Math.random()*numberSet.length));
}
Now you can change numberSet to be any set of numbers you want by simply typing in values with followed by a comma. The length of the set is used in the random generator to determine which indice of the numberSet it should print on the console.
Note: use F12 to show the console.
Note: Vote this answer UP gratuitously, because it are gen1us.
EDIT: I created a plunker for this: it pretty cool cuz you can see the values on the screen.
Check it out at:
http://plnkr.co/edit/B7H3PDCcVhPs1Dt2L2aZ?p=preview[
^]
Looks like: top part is value, bottom part is indice used
24 556 556 65 44 43 24 44 44 65 3 44 44 3 3 65 43 65 23 43 65 556 44 3 23 65 23 43 23 24 65 44 23 556 23 43 65 24 44 44 3 3 43 43 23 43 23 23 43 556 65 556 65 3 3 65 24 556 24 556 24 556 65 65 24 23 65 556 44 43 65 23 24 23 3 23 23 65 24 65 44 3 24 65 23 65 3 65 3 23 23 24 65 23 556 23 65 65 65 43
#########################
5 5 7 6 8 2 6 6 7 4 6 6 4 4 3 8 7 0 8 7 5 6 4 1 7 0 8 0 2 7 6 1 5 0 8 7 2 6 6 4 4 8 8 0 8 0 0 8 5 3 5 7 4 4 3 2 5 2 5 2 5 7 7 2 0 7 5 6 8 3 0 2 0 4 0 0 3 2 7 6 4 2 7 0 3 4 7 4 1 1 2 7 1 5 1 7 7 3 8 6