# A Computer Algorithm for Randomization

Back in the early days of computers, one of the more popular methods of generating a sequence of random numbers was to employ the following scheme:

1. Choose a starting number between 0 and 1.

2. Multiply the starting number by 4 ("stretch" it). Subtract 4 times the square of the starting number from the quantity obtained in step 2 ("fold" the interval back on itself in order to keep the final result in the same range).

3.Given a starting number between 0 and 1, we can use the proce-dure—often termed the logistic rule—to generate a sequence of numbers that to all appearance is completely random. For example, in such a sequence each of the ten digits 0 through 9 appears with equal frequency and the statistical correlation between groups of digits is zero. Note, however, that the members of this sequence are specified in a completely deterministic way by the starting number. So the sequence is certainly not random in the everyday sense of being unpredictable; once we know the starting number and the rule for calculating an element of the sequence from its predecessor, we can predict with complete confidence what every element in the sequence will be.[8]

## Notes:

From John Casti.

**Folksonomies:** algorithms randomization

**Taxonomies:**

/science/mathematics/arithmetic (0.581562)

/technology and computing/hardware/computer (0.514904)

/technology and computing/hardware/computer components (0.404001)

**Keywords:**

sequence (0.979463 (:0.000000)), completely deterministic way (0.965741 (:0.000000)), John Casti (0.831527 (:0.000000)), number (0.741489 (:0.000000)), random numbers (0.725894 (:0.000000)), following scheme (0.721814 (:0.000000)), popular methods (0.714167 (:0.000000)), logistic rule—to (0.693403 (:0.000000)), final result (0.690752 (:0.000000)), statistical correlation (0.681128 (:0.000000)), equal frequency (0.677850 (:0.000000)), everyday sense (0.671469 (:0.000000)), complete confidence (0.666090 (:0.000000)), digits (0.428351 (:0.000000)), element (0.390256 (:0.000000)), Randomization (0.356354 (:0.000000)), Multiply (0.338182 (:0.000000)), interval (0.322312 (:0.000000)), fold (0.317093 (:0.000000)), Algorithm (0.315572 (:0.000000)), predecessor (0.315096 (:0.000000)), quantity (0.311761 (:0.000000)), stretch (0.304671 (:0.000000)), computers (0.297889 (:0.000000)), appearance (0.293123 (:0.000000)), square (0.292983 (:0.000000)), times (0.292473 (:0.000000)), step (0.291944 (:0.000000)), order (0.291415 (:0.000000)), example (0.291139 (:0.000000))

**Entities:**

John Casti:Person (0.855356 (:0.000000)), ten digits:Quantity (0.855356 (:0.000000))

**Concepts:**

Mathematics (0.957019): dbpedia_resource

Randomness (0.935763): dbpedia_resource

Algorithm (0.898068): dbpedia_resource

Computer (0.761134): dbpedia_resource

Elementary arithmetic (0.746197): dbpedia_resource

Grammatical number (0.695765): dbpedia_resource

Natural number (0.662628): dbpedia_resource

Real number (0.598536): dbpedia_resource

**Rules of Play: Game Design Fundamentals**

**Books, Brochures, and Chapters>**

**Book:**Salen, Katie (2003925)

*, Rules of Play: Game Design Fundamentals*, Retrieved on 2018-07-27

**Folksonomies:**games game design gameplay