Exactly what happens to the number in rand when generating a pseudo-random number? Like, what exact equations are done to get from Number A to Number B? I know it would probably be in ROM somewhere, so I put this in the off-topic discussion, but I'm somewhat fascinated on whether this sequence of operations would be possible (or easy) to replicate.

What is done to generate a pseudo-random number on the TI-83+?

Summary:

I just want to know exactly what happens to the number stored in rand when generating a "random" number.