Python Forum
Real Random Number Generator
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Real Random Number Generator
#11
Understanding the Formula to Qualify Random Numbers​




“Best Possible Mean” minus Standard Deviation:
  • Define “Best Possible Mean: Is the same as Mean, add all numbers in list and divide by number of items. I write it this way so it is understood that the best it can be is “Best Possible Mean”. Working with binary the “Best Possible Mean” is: 0 + 1 = (1 / 2) = 0.5.​
  • Define Standard Deviation: A standard deviation (or σ) is a measure of how dispersed the data is in relation to the mean. Low, or small, standard deviation indicates data are clustered tightly around the mean, and high, or large, standard deviation indicates data are more spread out.​

The closer to “Best Possible Mean” and RANDOM is what the goal is. Therefore “Best Possible Mean” minus Standard Deviation is a concrete base for random. It gives a definitive way of working with random numbers.

Now to deal with RANDOM with mathematics:

  • It looks random. This means that it passes all the statistical tests of randomness that we can find.
  • It is unpredictable. It must be computationally infeasible to predict what the next random bit will be, given complete knowledge of the algorithm or hardware generating the sequence and all of the previous bits in the stream.
  • It cannot be reliably reproduced. If you run the sequence generator twice with the exact same input (at least as exact as humanly possible), you will get two completely unrelated random sequences.

The output of a generator satisfying these three properties will be good enough for a one-time pad, key generation, and any other cryptographic applications that require a truly random sequence generator.

I hope this makes things clearer.
Reply


Messages In This Thread
Real Random Number Generator - by woodturner550 - Jan-02-2024, 11:54 PM
RE: Real Random Number Generator - by Gribouillis - Jan-03-2024, 08:36 AM
RE: Real Random Number Generator - by woodturner550 - Jan-03-2024, 06:46 PM
RE: Real Random Number Generator - by DeaD_EyE - Jan-04-2024, 09:36 PM
RE: Real Random Number Generator - by woodturner550 - Jan-05-2024, 12:34 AM
RE: Real Random Number Generator - by woodturner550 - Jan-06-2024, 04:24 AM
RE: Real Random Number Generator - by woodturner550 - Jan-08-2024, 11:43 PM
RE: Real Random Number Generator - by DeaD_EyE - Jan-10-2024, 04:18 PM
RE: Real Random Number Generator - by woodturner550 - Jan-11-2024, 12:43 AM
RE: Real Random Number Generator - by woodturner550 - Jan-13-2024, 02:13 AM
RE: Real Random Number Generator - by woodturner550 - Jan-31-2024, 01:56 AM
RE: Real Random Number Generator - by rob101 - Jan-31-2024, 03:12 AM
RE: Real Random Number Generator - by woodturner550 - Jan-31-2024, 03:20 AM
RE: Real Random Number Generator - by rob101 - Jan-31-2024, 09:59 AM
RE: Real Random Number Generator - by DeaD_EyE - Jan-31-2024, 11:44 AM
RE: Real Random Number Generator - by woodturner550 - Jan-31-2024, 06:04 PM
RE: Real Random Number Generator - by rob101 - Jan-31-2024, 06:25 PM
RE: Real Random Number Generator - by DeaD_EyE - Jan-31-2024, 06:47 PM
RE: Real Random Number Generator - by woodturner550 - Jan-31-2024, 07:22 PM
RE: Real Random Number Generator - by rob101 - Jan-31-2024, 07:41 PM
RE: Real Random Number Generator - by DeaD_EyE - Feb-01-2024, 03:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Random Passcode Generator function romeo777 2 2,656 Jan-06-2021, 01:46 PM
Last Post: buran
  random two-word domain name generator rootVIII 0 2,150 Aug-06-2019, 03:15 AM
Last Post: rootVIII
  Infinate Number Generator Larz60+ 6 4,237 Sep-18-2018, 06:23 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020