Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird random result
Message
From
01/09/2022 07:39:00
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
31/08/2022 13:14:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01684912
Message ID:
01684924
Views:
68
>FWIW, one of the tests of how random a random number generator is is how many numbers you have to generate to get all the numbers in a particular sequence. If the sequence has n values, you definitely don't expect n random numbers to get one of each. The test is called the Coupon Collectors Test.

Yup, if you want 75 numbers in random order, you make a list with these 75 numbers, take a random one and remove it from the list... until the list is empty.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform