[algogeeks] Re: On random number generation

2010-09-13 Thread sourav
All of them are correct. You need to verify that the probability of getting each of the numbers from 0 to 7 are same. In the example given by Gene, here is the explanation below: rand04()rand04()5*rand04() Sum Sum/3 0 0 0 0 0 1 0 0

[algogeeks] Re: On random number generation

2010-09-13 Thread Krunal Modi
So finally which answer is correct ? There are many answers and I'm doubtful abt there correctness !! -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this gr