From: David Spain on
David Spain <nospam(a)127.0.0.1> writes:

> As opposed to:
>
> V(n+1) = (aV(n) + c) mod m
>
> where:
>
> m > 0
> 0 < a < m
> 0 <= c < m
> 0 <= Vo < m (and if c=0, Vo > 0) <--

FYI, this is wrong, if c=0, Vo must be co-prime to m.

Sorry.

;-)

Dave