VLS Roulette Forum

Main => General Board => Topic started by: Mr Chips on April 11, 2009, 11:07:17 AM

Title: PRNG, TRNG, Actuals
Post by: Mr Chips on April 11, 2009, 11:07:17 AM
I admit I am a number addict lol and in addition to roulette numbers I have a great interest in Prime Numbers.
 
I haven't found any solutions to the many Prime Number problems, that would upset the mathematicians, but
I have discovered some interesting patterns associated with those numbers and it can't be a bad thing looking
at Prime Numbers not from a mathematicians perspective, but from someone who has an interest in numbers
generally and likes to design roulette systems.
 
The point of mentioning Prime Numbers is that I saw a very interesting programme on BBC tv recently, which
referred to prime numbers and that a discovery has been made, which shows a relationship between the theoretical
world of mathematics and the characteristics of matter and energy.
 
The frequency of prime numbers apparently is the same as hitting a crystal and the vibrating waves that
show on a screen match each other. Really incredible.
 
There have been endless discussions about random numbers and the types of numbers and can we distinguish
between Pseudo random, True Random and Actuals.
 
The first question is it possible to distinguish between say TRNG, which you will find at Random.org and PRNG, which
I understand can be generated from a computer.
 
If it was possible to distinguish between the two RNG's, would it help us in any way to try and understand random
numbers, even just a fraction of comprehending the random complexity? Also would it help in any way to devise
"intelligent" systems?
 
Do PRNG's for example produce a complex wave pattern very different from TRNG'S that we could identify.
 
If anyone finds all this interesting and can produce approx 100 PRNG numbers I will try and discover certain characteristics,
which I have noticed before about such numbers.
 
Please only PRNG and their source.
 
Mr Chips
Title: Re: PRNG, TRNG, Actuals
Post by: Ulysses on April 11, 2009, 11:29:27 AM
I watched that BBC program with Alan Davies but I missed that wave in primes and crystal correlation bit, getting a cup of tea, and came in at the tail end of it. Caught something about Rheiman graph and searched for it with no success. You don't know what the graph is do you or where I can find it on the net. Will get you 100 PRNG results that's a fair swap lol. Uly
Title: Re: PRNG, TRNG, Actuals
Post by: gizmotron on April 11, 2009, 12:21:36 PM
on mouseup
   repeat with i = 1 to 100
      put random(37) & ", " after field "hotNumberList"
   end repeat
end mouseup

14, 29, 33, 9, 29, 7, 35, 5, 12, 22, 7, 32, 29, 31, 1, 12, 1, 16, 26, 20, 12, 2, 2, 27, 26, 8, 23, 26, 12, 36, 15, 36, 9, 5, 8, 16, 36, 32, 32, 10, 28, 24, 16, 28, 21, 1, 30, 31, 18, 35, 12, 28, 20, 10, 15, 28, 16, 6, 20, 3, 21, 21, 23, 29, 13, 30, 11, 32, 22, 11, 23, 10, 3, 13, 3, 35, 17, 28, 10, 19, 33, 25, 13, 29, 32, 16, 12, 12, 8, 20, 14, 11, 21, 29, 33, 9, 23, 18, 24, 8,

These 100 spins were created with a very modern RNG that reset the random seed by checking the number of milliseconds since 1970.
Title: Re: PRNG, TRNG, Actuals
Post by: Number Six on April 11, 2009, 12:31:13 PM
Bear in mind that TRNGs can produced bias in the binary digits if they are not filtered. You would have to crunch a lot of numbers to distinguish between true and pseudo random.  But as the states of PRNGs and TRNGs are different and the numbers are generated by different processes, they will create different sequences of numbers that can be told apart. In a nutshell, the TRNG results will be "better". However, if the TRNG is flawed, it would corrupt any study and render the exercise worthless.
Title: Re: PRNG, TRNG, Actuals
Post by: gizmotron on April 11, 2009, 12:36:36 PM
Quote from: Number Six on April 11, 2009, 12:31:13 PM
...However, if the TRNG is flawed, it would corrupt any study and render the exercise worthless. 

Modern PRNGs start to repeat after one half a million spins. The programmer needs to reset the random seed before that occurs. For short sets like 1000 spins it doesn't matter. If you reset the random seed with a secret set of random seeds every 100,000 spins then it should be bomb proof.
Title: Re: PRNG, TRNG, Actuals
Post by: Number Six on April 11, 2009, 12:41:50 PM
I'm talking about TRNGs, or hardware random number generators, not software PRNGs. If you are trying to distinguish between the results generated by a TRNG and a PRNG, and the TRNG was flawed, the results would be corrupt because any patterns in the TRNG outcomes would be formed by bias.
Title: Re: PRNG, TRNG, Actuals
Post by: gizmotron on April 11, 2009, 12:54:35 PM
Quote from: Number Six on April 11, 2009, 12:31:13 PM
But as the states of PRNGs and TRNGs are different and the numbers are generated by different processes, they will create different sequences of numbers that can be told apart. In a nutshell, the TRNG results will be "better".

How do you know they will be better for roulette? If you are running a mechanical rule based betting system for millions of spins then perhaps that might be true. If you are following charted trends, patterns, and dominances from past spins then perhaps it doesn't matter. The context for usage matters. I for one believe it does not matter for short termed runs, like a real playing session at a real casino. That holds true for using a fair RNG or real spins too. In my own experience I see the spins as the same, producing the same kinds of swings and changes.
Title: Re: PRNG, TRNG, Actuals
Post by: Mr Chips on April 11, 2009, 01:34:16 PM
Quote from: Ulysses on April 11, 2009, 11:29:27 AM
I watched that BBC program with Alan Davies but I missed that wave in primes and crystal correlation bit, getting a cup of tea, and came in at the tail end of it. Caught something about Rheiman graph and searched for it with no success. You don't know what the graph is do you or where I can find it on the net. Will get you 100 PRNG results that's a fair swap lol. Uly

If you go on the BBC tv website and put Horizon in search and scroll down a bit
you can see it again. I think it's well worth a second view. I bet a few
mathematicians were shocked when they saw the match, with the waves from
the crystal.
 
If you do happen to have a spare 100 PRNG that would be great.
 
Mr Chips
Title: Re: PRNG, TRNG, Actuals
Post by: Number Six on April 11, 2009, 01:44:18 PM
Gizmotron,

It's a generalisation, whether or not TRNGs are better for roulette than PRNGs is a moot point...but I'm telling Mr Chips that basically any study of random and pseudo random under these circumstances would probably be a waste of time because there are too many values and variables to consider. The study could be corrupted and you wouldn't even know it. I really don't think there any exploitable and/or detectable patterns to be found in a roulette RNG because you're dealing with such a small amount of numbers. So, you're right that it probably doesn't matter, but why settle for pseudo when you can have the real thing?   

Title: Re: PRNG, TRNG, Actuals
Post by: gizmotron on April 11, 2009, 02:15:21 PM
Quote from: Number Six on April 11, 2009, 01:44:18 PM
...but why settle for pseudo when you can have the real thing?  

There are people that hang onto magical beliefs and superstitions. They think that they can tell the difference and use that as an excuse for their systems and methods doing better or worse. They are not experienced enough with real and RNG enough to know that each time a new random sample of spins is used they act naturally, like the basic nature of randomness. So they blame the string of numbers. It's a mistake to blame the random source. They should know that wild swings are normal. Why should a stretch of spins be ready to go just the way you hope or expect it to?  If you use RNG to practice and gain experience you can use that experience to play a real wheel in a real casino. I would count on playing experience and less on superstitions.

Title: Re: PRNG, TRNG, Actuals
Post by: Number Six on April 11, 2009, 02:26:39 PM
You can tell the difference between true random and pseudo...the point being that pseudo isn't random, it's a fake imitation and by nature imperfect. But you'd have to crunch millions and millions of numbers and then keep re-analysing them, and any patterns that occur in pseudo aren't going to materialise over 5k or 10k or even 1million spins. You might start to see anomolies after a few hundred thousand, but when was the last time anyone played 300,000 consecutive spins on a roulette RNG? In roulette the sequences of numbers in play are simply far too short to be able to draw any conclusive findings. It would be better to join the numerology section and explore the issue of randomness there.

And Gizmotron, I agree that systems should be tested, put into practice, against an RNG, but only an independent hardware-based one such as random.org, certainly not the casino's play money wheel. If a system can hold up fairly well against true (and honest) random, then it'll be able to handle a real wheel.
Title: Re: PRNG, TRNG, Actuals
Post by: Mr Chips on April 11, 2009, 03:22:16 PM
Gizmo,
 
Thanks very much for the numbers they are what I would expect from PRNG. I will list the numbers and explain
my take on them. It is not always easy to identify the difference between PRNG and TRNG and Actuals, but a friend of mine
was working on a number problem and he was relying on being given TRNG, but as it turned out the person instead gave him
PRNG and he couldn't get the same results as he got previously.
 
When I design systems I often use 'sections', which I used for the 4Selecta system. For me they are essential and I wouldn't
have been able to make sound constructive systems without them. They have many uses and one use is particularly interesting
and you may say is impossible and therefore dismiss it. However I have found it useful and the saying speak as you find fits the
case here.
 
[table=,]
sections,fcst,sections,fcst
14,,35
29,,12
33,7,28,11
---,,---
9,,20
29,,10
7,11,15
---,,28,9
35,,---
5,,16
12,13,6
---,,20,13
22,,---
7,,3
32,11,21
---,,21
29,,23
31,,29,14
1,6,---
---,,13
12,,30
1,,11,7
16,,---
26,11,32
---,,22
20,,11
12,,23,11
2,,---
2,,10
27,,3
26,18,13
---,,3,8
8,,---
23,,35
26,13,17
---,,28
12,,10,17
36,,---
15,12,19
---,,33
36,,25,7
9,,---
5,,13
8,23,29
---,,32,6
16,,---
36,,16
32,,12
32,21,12,10
---,,---
10,,8
28,,20
24,,14,10
16,8,---
---,,11
28,,21
21,,29
1,,33
30,,9,13
31,,---
18,12,23
---,,18
,,24,14
,,---
,,8
[/table]
 
You will see that for example 14,29 (5 +2) digit sum to get a forecast of 7, the actual number that came in was 33. I use these
forecasts in various ways and in TRNG and actuals there is as you would expect, a fair distribution where the forecast is correct,
just misses by +1 or -1 or appears as the next number. For some reason whenever I have used PRNG I get few correct forcasts
and many more +1,-1 or is the next number!
 
The above shows :
 
12,13
 
13
---
12
 
14
---
13
 
11
---
10

10
---
11

There is perhaps an explanation that I have been unlucky whenever I have used PRNG when the above occurrence has happened,
but I have yet to come across PRNG numbers, that produce the same results as TRNG or Actuals.
 
Mr Chips
Title: Re: PRNG, TRNG, Actuals
Post by: gizmotron on April 11, 2009, 03:24:05 PM
Quote from: Number Six on April 11, 2009, 02:26:39 PM

And Gizmotron, I agree that systems should be tested, put into practice, against an RNG, but only an independent hardware-based one such as random.org, certainly not the casino's play money wheel. If a system can hold up fairly well against true (and honest) random, then it'll be able to handle a real wheel.

So if I include an RNG from my desktop application for running 50 to 300 spin competitions, will that be a problem trusting it to be random?

I'm also adding in the ability to use real spins for competitions. That should take care of those that think it's not random.

I just don't want losers blaming the randomness of the numbers for their losses. It has to fall on the player.
Title: Re: PRNG, TRNG, Actuals
Post by: Number Six on April 11, 2009, 03:47:09 PM
Gizmotron,

It's an interesting question but if you're only running short cycles of numbers then, no, it really wouldn't matter that those numbers are generated by a software PRNG. It would, of course, be better if you could take numbers from random.org and run those through the application to test the systems in the competition, if only just to be able to say that the competition was founded on true random...and no one can refute that when they lose.

People often blame the RNG when their system fails, and I myself have fallen into this trap once, but it's more a matter of suggesting that the RNG has inbuilt pattern recognition software and so is rigged by the casino. PRNG isn't a problem for testing, it's just that you can't rely on the test results to be purely accurate. 
Title: Re: PRNG, TRNG, Actuals
Post by: gizmotron on April 11, 2009, 03:56:44 PM
Roulette Ride 1.2 will include the addition of loading real spins or spins from random.org for competitions. The two methods will be line delimited and comma delimited text files or clipboard based. RR1.2 will automatically encrypt them for the sponsor of that competition. Then the sponsor can tell the users what type of spins were used. My guess is that real spins will be the only ones that everyone will accept for any competitions. It's purely baloney. Their betting methods are far more flawed than any true form of randomness perception. You watch. Somebody will post RNG spins and claim they were real. Several people will say they knew that they were real spins. People play better when they think the spins are real, I guess.

I know this because I read it in the entrails of a two foot long baloney.  8)
Title: Re: PRNG, TRNG, Actuals
Post by: Number Six on April 11, 2009, 04:07:19 PM
Sounds like a good little program. If it can incorporate true random then no one can complain...it'll be interesting to see what excuses people come up with for losing...anything to admit that their system was a washout and couldn't cope with randomness.
Title: Re: PRNG, TRNG, Actuals
Post by: Mr Chips on April 12, 2009, 06:33:28 AM
As I put Gizmotron's PRNG numbers into 'sections' and got what I thought would be the expected result, I thought it would be
interesting to get 100 numbers from Random.org (TRNG) and see how they compare with the PRNG.
 
[table=,]
sections,fcst,sections,fcst
2,,11
14,,30
5,7,15
---,,0,11
9,,---
11,,9
0,11,5
---,,11,14
0,,---
25,,20
14,,16
10,12,11,9
---,,---
29,,5
27,,6
18,11,2
---,,12,13
16,,---
11,,27
34,9,34
---,,32
20,,17,21
36,,---
20,11,4
---,,13
28,,33
33,,14
25,7,32
---,,5
13,,24
0,,13
22,,35
32,,14,n/a
29,,---
20,15,29
---,,19
30,,0
15,,0
4,9,31
---,,31,7
5,,---
3,,25
13,8,30
---,,8,10
29,,---
17,,34
26,10,1
---,,9,8
1,,---
24,,6
7,7,28
---,,3,7
24,,---
30,,10
15,9,31
---,,32,5
24,,---
15,,27
21
14,15
---
2
7
2,9
---
33
34
28,13
---
[/table]
 
The above 'sections' and forecasts is what I would expect from Random.org TRNG numbers :
 
7,7
 
14,15
 
12,13
 
9,8
 
As I mentioned previously it is sometimes difficult to differentiate between PRNG and TRNG especially a small sample of
numbers, but I have found that eventually the results become quite clear.
 
I don't mind in the least being proved wrong, as I am only interested in the truth of numbers and building on the knowledge
I have so far accumulated.
 
TwoCatSam, Sam, very kindly produced 5000 actuals, which I have found immensely useful. His worksheets are showing
'sections', which were used for 4Selecta and if you caste your eye and work out the forecasts you will also see they are
in line with my expectations and that of TRNG numbers.
 
nolinks://vlsroulette.com/actuals-permanences/the-twocat-5000/msg19244/ (nolinks://vlsroulette.com/actuals-permanences/the-twocat-5000/msg19244/)
 
Mr Chips
Title: Re: PRNG, TRNG, Actuals
Post by: gizmotron on April 12, 2009, 11:37:16 AM
Here is the deal, and I'm not trying to sell something, LOL.

The general consensus is that nobody will trust this thing. Those that have hidden, unshared methods or systems think it will give away their systems. So it's a complete waste of my time. I would not be able to participate too. I could use the development platform to extract the encryption key. Then I could cheat. So I would always be suspected for that. I would never trust an on-line version to keep my own method secret. The only thing that would work is for me to open a school for teaching my own method. I'll just take all the work I've done and put it into that, if I ever need to.

Someone else will have to come up with a fool proof challenge method for competitions.
Title: Re: PRNG, TRNG, Actuals
Post by: Ulysses on April 12, 2009, 12:13:51 PM
Hello Chips, here are a 100 PRNG's from a playtech casino, today. Plus thanks for the info on Horizon replay. Also looked at your sections and forecasts and don't really understand what it's about, forgive me as I'm not the sharpest tool in the box, but could you give me a short dummies guide explanation as I am very interested. If not, no worries. Lastly, have you ever looked into the Golden Ratio (1 + the square root of 5 then divided by 2) I know you like primes, but this golden ratio fascinates me. Uly  wiki golden ratio

 

21
11
31
3
0
8
23
29
23
19
18
19
21
29
0
12
16
28
24
6
3
25
34
33
15
0
16
21
6
12
6
25
19
35
28
3
8
8
10
3
9
20
17
31
3
15
35
13
4
33
28
18
28
9
25
21
3
6
8
13
2
31
14
3
11
17
3
2
31
8
14
5
23
23
21
0
22
3
7
23
12
26
18
22
0
1
29
31
9
0
17
13
8
2
2
4
33
10
35
25
23


Title: Re: PRNG, TRNG, Actuals
Post by: Mr Chips on April 12, 2009, 12:18:17 PM
Quote from: Gizmotron on April 12, 2009, 11:37:16 AM
Here is the deal, and I'm not trying to sell something, LOL.

The general consensus is that nobody will trust this thing. Those that have hidden, unshared methods or systems think it will give away their systems. So it's a complete waste of my time. I would not be able to participate too. I could use the development platform to extract the encryption key. Then I could cheat. So I would always be suspected for that. I would never trust an on-line version to keep my own method secret. The only thing that would work is for me to open a school for teaching my own method. I'll just take all the work I've done and put it into that, if I ever need to.

Someone else will have to come up with a fool proof challenge method for competitions.

Well, surprise, surprise.
 
Not that I am particularly concerned myself, but no doubt others will be.
 
It seems to be prevalent among certain  programmers that they suggest or
agree on a project, get everyone's interested then decide to pull out and make
a number of lame excuses. I speak from experience having been on the
receiving end of such a situation.

This thread is not about a competion, but feel free to voice your opinion if you
so wish.
 
Mr Chips
Title: Re: PRNG, TRNG, Actuals
Post by: Ulysses on April 12, 2009, 12:33:15 PM
Gizmotron
Don't be so disheartened, I was looking forward to your test and I'm sure many others were too. Sometimes people just have to trust each other regardless of what may or may not happen. If all systems failed except yours, so what, I would accept that. Some may have insecurity issues to deal with but that's just normal behaviour in any group of people. In the grand scheme of things, it's not that important what anyone thinks as long as your happy with it. Uly  P.S never trust a robot with blue eye brows lol
Title: Re: PRNG, TRNG, Actuals
Post by: gizmotron on April 12, 2009, 12:42:37 PM
Quote from: Mr Chips on April 12, 2009, 12:18:17 PMIt seems to be prevalent among certain  programmers that they suggest or agree on a project, get everyone's interested then decide to pull out and make a number of lame excuses. I speak from experience having been on the receiving end of such a situation.

Well I was attempting to get a consensus on this thread. It breaks down right here most of all. Once that was resolved the objections continued degrading down to other superstitions. The only people that want this are those still searching for a winning method that actually works. If you need that to be lame then fine. It's a total pain in the ass to do all this work for others only to have it thrown in the gutter. So I'll finish it for my own interests.

Believe it or not it was Arte & Bliss who wised me up. It's no wonder that there is no useful competition platform. Nobody trusts anybody.
Title: Re: PRNG, TRNG, Actuals
Post by: Mr Chips on April 12, 2009, 12:51:15 PM
Uly,
 
Thanks very much for the numbers.
 
I noticed some time ago when using 'sections' that there appeared to be a difference between PRNG and TRNG.

When making forecasts, which I described above and using Actuals or TRNG I would get a certain number of correct
forecasts. Some for example, if the forecast was 13, the result would be 14 or 12, also the next number would be 13.
 
PRNG produced far fewer such results and would for the next number produce 14 or 12 and the frequency of the
correct forecasts would be less.
 
Many people will of course dispute this discrepancy between PRNG and TRNG, but until I get proof otherwise I will
continue to identify such differences, when they occur.
 
I can't recall coming across the Golden Ratio, but I have made a note of it, thanks.
 
Mr Chips
Title: Re: PRNG, TRNG, Actuals
Post by: Ulysses on April 12, 2009, 01:14:51 PM
Thanks Chips, I think it's a clever comparison and the discrepancy is quite clear to see. I will keep checking this as I play, really intriguing. Thanks again.
Title: Re: PRNG, TRNG, Actuals
Post by: Mr Chips on April 12, 2009, 02:01:13 PM
Quote from: Ulysses on April 12, 2009, 01:14:51 PM
Thanks Chips, I think it's a clever comparison and the discrepancy is quite clear to see. I will keep checking this as I play, really intriguing. Thanks again.


I couldn't identify PRNG from those numbers from the playtech casino. Perhaps
someone can throw some light on them.
 
I got the following result:
 
13,14
 
12
---
13
 
7,7
 
Mr Chips
 
Title: Re: PRNG, TRNG, Actuals
Post by: Number Six on April 12, 2009, 02:06:24 PM
Hi Mr Chips,

Forgive me, I'm not trying to be cynical or anything, but if you are analysing these TRNG and PRNG numbers what are you expecting to find? Are you looking for something to exploit? For example, if playtech is software-based number generation, are you hoping to find a way of beating it...or is this just a sort of brain exercise?
Title: Re: PRNG, TRNG, Actuals
Post by: Mr Chips on April 12, 2009, 02:36:54 PM
Quote from: Number Six on April 12, 2009, 02:06:24 PM
Hi Mr Chips,

Forgive me, I'm not trying to be cynical or anything, but if you are analysing these TRNG and PRNG numbers what are you expecting to find? Are you looking for something to exploit? For example, if playtech is software-based number generation, are you hoping to find a way of beating it...or is this just a sort of brain exercise?

My brain doesn't need further exercise lol.
 
It would take a lot of work to come to a satisfactory conclusion about the
differences between PRNG and TRNG /Actuals. I notice it because I have used
'sections' for such a long time and on the occasions when I used PRNG numbers
the results are so very different. So this is just my take on it.
 
I don't know if it is possible to exploit PRNG in relation to the discrepancy I have
described, it would also certainly take a lot of work.
 
If you look on Random.org it states that TRNG should be used for gambling and I
would certainly agree.
 
Mr Chips
Title: Re: PRNG, TRNG, Actuals
Post by: Ulysses on April 12, 2009, 04:06:48 PM
Hello Chips,

QuoteIf you look on Random.org it states that TRNG should be used for gambling and I
would certainly agree.

I asked Dr Mads Haars at Random.org a while back, about his presumption that online gambling uses TRNG and not PRNG and he said he didn't know either way. My best guess is it is PRNG as I can predict online much better than real, but who knows what it uses. The independent auditors of the software like PriceWaterhouse state they check the software algorithm and results for randomness. At the end of the day I will play where I can make money, be it online or real. Online is good for me, so until that changes I wont just look the gift horse in the mouth.