Originally Posted by
mary_201091
Hi again and sorry for being so insistent, but i am very interested in solving this task :
I know that the 1000 numbers have been generated using a function like the rand() of Visual C:
Xn+1=(a*Xn+c) mod 2^32
And after doing this, the numbers that we have access to are formed by extracting the bits 30-16 (length:15 bits- numbers range from 0 to 32767).
There has to be a way to calculate the 'a' and 'c' variables having the first 1000 numbers. I insist: i think that the paper "Inferring sequences produced by a linear congruential generator missing low-order bits" contains the algorithm to do that, but i don't have access to it. So, please, i need urgent help.
Thanks a lot!