Comments - New, state-of-the-art random number generator: simple, strong and fast - AnalyticBridge2021-09-27T23:07:50Zhttps://www.analyticbridge.datasciencecentral.com/profiles/comment/feed?attachedTo=2004291%3ABlogPost%3A147450&xn_auth=noI have one minor issue with s…tag:www.analyticbridge.datasciencecentral.com,2014-10-20:2004291:Comment:3113242014-10-20T04:05:04.048ZJeffrey Stricklandhttps://www.analyticbridge.datasciencecentral.com/profile/JeffreyStrickland
<p style="margin: 0in 0in 0pt;"><font face="Calibri" size="3">I have one minor issue with some wording about random number generation. First, they are actually pseudo-random. Second, since infinity is not numerical, random number generators cannot achieve infinity. The can theoretically achieve the largest countable number, aleph-1, if we had the computational capacity to do so. I would just caution using infinity and random number generation in the same context. Though every number contains…</font></p>
<p style="margin: 0in 0in 0pt;"><font face="Calibri" size="3">I have one minor issue with some wording about random number generation. First, they are actually pseudo-random. Second, since infinity is not numerical, random number generators cannot achieve infinity. The can theoretically achieve the largest countable number, aleph-1, if we had the computational capacity to do so. I would just caution using infinity and random number generation in the same context. Though every number contains the concept of infinity, even 1.00000000..., infinity is not a number, we cannot count to it, and thus it is not possible to achieve the period computationally. Infinity is that which lies beyond the countable and uncountable.</font></p>
<p></p> I forgot that for those who r…tag:www.analyticbridge.datasciencecentral.com,2012-02-14:2004291:Comment:1758942012-02-14T05:07:06.955ZFabian Bastinhttps://www.analyticbridge.datasciencecentral.com/profile/FabianBastin
<p>I forgot that for those who really want randomness, they can put quantum physics in their PC! <a href="http://www.idquantique.com/true-random-number-generator/quantis-usb-pcie-pci.html">http://www.idquantique.com/true-random-number-generator/quantis-usb-pcie-pci.html</a></p>
<p>A bit expensive, but...</p>
<p>I forgot that for those who really want randomness, they can put quantum physics in their PC! <a href="http://www.idquantique.com/true-random-number-generator/quantis-usb-pcie-pci.html">http://www.idquantique.com/true-random-number-generator/quantis-usb-pcie-pci.html</a></p>
<p>A bit expensive, but...</p> The first question for a rand…tag:www.analyticbridge.datasciencecentral.com,2012-02-14:2004291:Comment:1760942012-02-14T04:58:22.404ZFabian Bastinhttps://www.analyticbridge.datasciencecentral.com/profile/FabianBastin
<p>The first question for a random number generator is what is the purpose? If one is looking for statistical performance, for instance for simulation, very efficient generators (MRG or Mersenne-Twister) are known, and should be used. There are many statistical tests that can be used to evaluate them. TestU01 is a free software that implements dozens of them, and can identify bad generators (e.g. those proposed in Excel, VB, GNU Glibc,...). The IEEE article clearly do not address this…</p>
<p>The first question for a random number generator is what is the purpose? If one is looking for statistical performance, for instance for simulation, very efficient generators (MRG or Mersenne-Twister) are known, and should be used. There are many statistical tests that can be used to evaluate them. TestU01 is a free software that implements dozens of them, and can identify bad generators (e.g. those proposed in Excel, VB, GNU Glibc,...). The IEEE article clearly do not address this (simulation) concern. If one is just looking for use in cryptography, the statistical properties are much less relevant, and the technique complexity is then more important. The important issue is not only to hide the seed, but also make the technique difficult to discover by an intruder. Modern generator have huge periods (the MT19935 has a period of 2^19937) so it is already virtually impossible to predict the number if one just had a small sequence. Combine different kind of generators, and the modern ones are fast (faster then the computer of pi decimals), and you have a very strong tool.</p> Another idea: use continued f…tag:www.analyticbridge.datasciencecentral.com,2011-10-18:2004291:Comment:1572292011-10-18T16:54:55.674ZVincent Granvillehttps://www.analyticbridge.datasciencecentral.com/profile/VincentGranville
<p>Another idea: use continued fractions to approximate Pi. Let us denote by p(n) he n-th approximant: p(n) = A(n) / B(n), where A(n) and B(n) are integers defined by simple recurrence relations. Modify these recurrence relations very slightly, et voila: we created a new interesting number, with (hopefully) random digits.</p>
<p>Or consider a simple continued fraction such as</p>
<p>F = 1 / (1 + 1 / ( 1 + 2 / ( 1 + 3 / ( 1 + 4 / ( 1 + 5 / ( 1 + 6 / 1 + .. ) ) ) ) ) )</p>
<p>Despite the very…</p>
<p>Another idea: use continued fractions to approximate Pi. Let us denote by p(n) he n-th approximant: p(n) = A(n) / B(n), where A(n) and B(n) are integers defined by simple recurrence relations. Modify these recurrence relations very slightly, et voila: we created a new interesting number, with (hopefully) random digits.</p>
<p>Or consider a simple continued fraction such as</p>
<p>F = 1 / (1 + 1 / ( 1 + 2 / ( 1 + 3 / ( 1 + 4 / ( 1 + 5 / ( 1 + 6 / 1 + .. ) ) ) ) ) )</p>
<p>Despite the very strong pattern in the construction of F, I am sure that its digits show very good randomness properties.</p> It would be interesting to st…tag:www.analyticbridge.datasciencecentral.com,2011-09-13:2004291:Comment:1488442011-09-13T21:53:42.208ZVincent Granvillehttps://www.analyticbridge.datasciencecentral.com/profile/VincentGranville
<p>It would be interesting to study the function F(a,b,c,d) defined by formula [1], by replacing the numbers 4, -2, -1, -1 (numerator) by a, b, c, d. Of course, F(4,-2,-1,-1) = Pi.</p>
<p>Do interesting numbers share the two properties listed below? Could the number e=2.71..(or some other beautiful numbers) be a special case of F?</p>
<ul>
<li>a + b + c + d = 0</li>
<li>|a| + |b| + |c| + |d| = 8</li>
</ul>
<p> </p>
<p>It would be interesting to study the function F(a,b,c,d) defined by formula [1], by replacing the numbers 4, -2, -1, -1 (numerator) by a, b, c, d. Of course, F(4,-2,-1,-1) = Pi.</p>
<p>Do interesting numbers share the two properties listed below? Could the number e=2.71..(or some other beautiful numbers) be a special case of F?</p>
<ul>
<li>a + b + c + d = 0</li>
<li>|a| + |b| + |c| + |d| = 8</li>
</ul>
<p> </p>