So from your and Mike's inputs I understand I have to make a major upgrade to this tutorial. Just wanted to add that LFSR are not pseudo random number generators, they are pseudo random bit generators If you are using them to generate n-bit random numbers you should advance the LFSR 'n' times, to generate n new bits. The feedback input to the shift register is a linear combination of some of its own bits.

From Wikipedia, the free encyclopedia. Frequently Asked Questions:

Numerical Recipes in Fortran But if I want to know before throwing, what is the probability of getting three heads in a row, things change. Proceedings of the Winter Simulation Conference to appear.