middle_square_test


middle_square_test, an Octave code which calls middle_square(), which implements the middle square algorithm for generating random integers. This is a very early method, attributed to von Neumann, which actually is deeply flawed, with short cycles.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Related Data and Programs:

middle_square, an Octave code which implements the middle square algorithm for generating random integers. This is a very early method, attributed to von Neumann, which actually is deeply flawed, with short cycles.

Source Code:


Last modified on 18 June 2023.