Re: PRNG



On Tue, 03 Mar 2009 21:35:51 +0000, Guy Macon
<http://www.GuyMacon.com/> wrote:




Phoenix wrote:

Guy Macon <http://www.GuyMacon.com/> wrote:

Phoenix wrote:

I would like to now the opinion experts about this algorithm created by
me, that is a non periodic Pseudo Random Number Generator.

No such thing exists. You can make the time between repeats
so large that for all practical purposes it never repeats,
but you cannot write an non periodic Pseudo-Random Number
Generator algorithm on a computer that lacks infinite memory.
That's impossible.

Non periodic, is matemathicly speeking.
We all now the computers limits.

Ex: X(n)=0.3526373.38474844...75858585..., or PI, or SQR(2)
is, or not, non periodic?

Pi is not periodic, but Pi cannot be calculated on any computer
that has finite memory. No non-periodic number or string can.
You can only calculate the first N digits of Pi, with N being
very large but not infinite.

One might imagine that an algorithm exists that will generate
digits of Pi on the fly without remembering all past digits,
No need to imagine, such an algorithm exists:
http://www.lacim.uqam.ca/~plouffe/Simon/articlepi.html

However, the algorithm takes n as input and so is limited by the size
of n that can be stored in the machine. Very large but not infinite.

A similar algorithm exists for the hex digits of pi which will get
more bits for a given maximum n.

rossum


just the last billion of them, but any such algorithm will
eventually find two places in the infinite length of Pi that
are identical in the last billion digits with no way to know
where it is or which one to move forward from.

Again, we are talking really large numbers and really small
probabilities here; all the stars would burn out and your
computer would lose power long before reaching such limits,
but the limits do exist.

.



Relevant Pages

  • "Algorithmic Randomness, Quantum Physics, and Incompleteness"
    ... all finite sequences are to be found infinitely often and ... different members of the infinite set of random numbers. ... Just using random numbers with initial digits 1 thru 9, ... it generated by a shorter input algorithm than the length ...
    (sci.logic)
  • Re: etc
    ... will have generated an infinite number of digits. ... that your algorithm for "generating this infinite number of digits" ... The range of the sequence is an infinite set. ...
    (sci.math)
  • Re: Why are reals uncountable yet algorithms countable (long)?
    ... > was wrong obviously think that a number is just a finite or infinite ... different from all other reals, because that number is a real itself: ... > missed by any algorithm like those you consider. ... If you are talking about producing the digits of the real number in finite ...
    (sci.math)
  • Re: The Modified Halting Problem, Take ??? .
    ... What you write is not the same as saying all digits can be computed. ... With an infinite number the same process is used, ... We have infinitely many halting TMs, ... first you see 3 on the first tape, then you see 3.1 on the second tape, ...
    (sci.logic)
  • Re: The Modified Halting Problem, Take ??? .
    ... What you write is not the same as saying all digits can be computed. ... With an infinite number the same process is used, ... first you see 3 on the first tape, then you see 3.1 on the second tape, ... There are countably infinite Turing machines (meaning exactly TMs ...
    (sci.logic)

Quantcast