Search NASAโŒ• Search

NASA NTRS ยท 19770007112

Standard random number generation for MBASIC

Abstract

A machine-independent algorithm is presented and analyzed for generating pseudorandom numbers suitable for the standard MBASIC system. The algorithm used is the polynomial congruential or linear recurrence modulo 2 method. Numbers, formed as nonoverlapping adjacent 28-bit words taken from the bit stream produced by the formula a sub m + 532 = a sub m + 37 + a sub m (modulo 2), do not repeat within the projected age of the solar system, show no ensemble correlation, exhibit uniform distribution of adjacent numbers up to 19 dimensions, and do not deviate from random runs-up and runs-down behavior.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Tausworthe, R. C.. 1976-12-15. Standard random number generation for MBASIC. https://ntrs.nasa.gov/citations/19770007112

Cite the original work for its findings. Save a collection to share your selection of sources.