To be precise, set aside Fibonacci is a pseudo random number generator. This is not true, random, but it is much better than, say, a more ordinary linear congruent generator (standard generator for C ++, Java, etc.), I'm not sure why you think that it will give the same number again, but it’s true that , like all pseudo-random number generators, it has a period after which the sequence of numbers will be repeated again.
Multiplicative LFG has a period of (2^k - 1)*2^(M-3) . For practical parameters, this is actually quite large (the LCG period is only M ).
The only catch with LFG is that the initialization procedure is very complicated, and the math behind it is incomplete. It is best to consult the literature for a good selection of parameters and the recommended procedure for proper seeding.
As an illustration, a multiplicative LFG with parameters (j=31, k=52) and a module m=2^32 seeded with an array of 52 32-bit numbers.
Additional links:
polygenelubricants
source share