Python Forum
Real Random Number Generator
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Real Random Number Generator
#2
I want the best random numbers I can get. I'm looking at what defines a random number set. There is no definitive standard for random numbers according to NIST. I think that "Best Possible Mean minus Standard Deviation" may be the way to get great random numbers.

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.

I'm looking at what makes a random number random, as well as how to qualify random numbers.
I'm looking for the best base to work from. I challenge everything. I believe that digital computers CAN make "real" random numbers. I know digital computers are deterministic as understood today. If you add an unknowable properly the deterministic system becomes indeterminate.
When you use a stopwatch to time an event for example. You push the button to start the 'event', you cannot know the exact nanosecond that the event started. All you know is that you marked the beginning of the event. Even on a computer you can't know the exact nanosecond an event started. If this is true, then good so far.
This 'time' at the start of an event is what we want for the 'seed' for random numbers. It's how 'time' is used to make the seed that is important. Using 'time' alone does not work at all. I've found out how to use 'time' Nanosecond time to make perfect 'seeds'.

As far as I know this is the best definition of "Random".

1. It looks random. This means that it passes all the statistical tests of randomness that we can find.

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

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

The following data is from my twenty-two line “real random number generator” program in Python 3.7.

This is the Standard Deviation of 400 sets of 10,000 random binary bits (0,1) broken into four equal parts. Each part comprises of 100 sets of 10,000 random bit, 1,000,000 bits total. The four groups together is 4,000,000 bits. The best that can be achieved is 0.5., and that is not random, it is in order.

0.499993153 - 0.5 = -0.000007

0.500000244 – 0.5 = 0.00000002.44

0.499995232 – 0.5 = -0.000005

0.4999945 – 0.5 = -0.000006

I always give data from a data set so it can be verified if needed. There is going to be a very small remainder because it IS random (example 0.00000). Doesn’t get any better than this.

This knowledge will affect: Number Theory; Linear and Multilinear Algebra; Potential Theory; Statistics; Numerical Analysis; Statistical Mechanics, Structure of Matter.

As soon as it is recognized as correct, then I can explain what and how this program came into being. There is a lot of great research to be done now. I just opened the door to a place to investigate. Random numbers are very interesting. This advancement will make digital computers much more powerful.

I am hoping my work will inspire others to explore and challenge everything. Must follow the laws of nature and logic. A word about ‘logic’. It is the one thing that I use that is not taught in schools. It is as important as understanding the laws of nature or physics.

Any thoughts are welcome. The facts will stand up to the ‘hard look’ by anyone. There is more that I have learned but cannot be understood till ‘real random numbers’ CAN be made by digital computers is understood as fact.
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
Understanding "Real Random Number Generator" - by woodturner550 - Jan-03-2024, 12:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Random Passcode Generator function romeo777 2 2,673 Jan-06-2021, 01:46 PM
Last Post: buran
  random two-word domain name generator rootVIII 0 2,164 Aug-06-2019, 03:15 AM
Last Post: rootVIII
  Infinate Number Generator Larz60+ 6 4,276 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