The period of the Fibonacci random number generator (Q1105311)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | The period of the Fibonacci random number generator |
scientific article |
Statements
The period of the Fibonacci random number generator (English)
0 references
1988
0 references
The Fibonacci random number generator \(r_ n\equiv r_{n-1}+r_{n- k}(mod M)\) is in focus in this paper. For M prime and some choices of k, any non-zero starting vector \(v=(r_ 1,...,r_ k)\) for integers creates a sequence of maximal period M k-1. In most cases, however, different v's give rise to different periods. An algorithm is presented that selects initial vectors with maximal period. The results of some empirical tests are given at the end of the paper. The Fibonacci generator passes the run test only after decimation.
0 references
Fibonacci random number generator
0 references
maximal period
0 references
run test
0 references