**middle_square_test**,
a Fortran90 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.

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

middle_square, a Fortran90 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.

- middle_square_test.f90, calls all the tests.
- middle_square_test.sh, runs all the tests.
- middle_square_test.txt, the output file.