in reply to random number
Take a look at this earlier post Re: unique random numbers and the thread it's in. It should get you started.
Examine what is said, not who speaks.