Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Yup it gives distinct number but it still have conjunction numbers, this is due to the Birthday paradox I believe. This seems to be fulfilling what i need to do. Thanks Dan Tao Commented Feb 8, 2011 at 4:33
  • 2
    Keep in mind that by forcing distinction, you are in fact harming the "Randomness" - the distribution is no longer (pseudo) uniform. Commented Oct 21, 2011 at 7:47
  • 1
    @bavaza: Not sure if that comment is aimed at me or the OP, but I think the OP does not actually want true randomness; otherwise he wouldn't be asking this question. Of course you're correct that eliminating duplicates compromises the randomness of the data, just as sorting does. Commented Oct 21, 2011 at 14:30
  • 2
    @Dan: It was aimed at the OP and other SO junkies out there. I decided to add it because I often found that people tend to abuse statistics. Anyways, thanks for the answer :-). Commented Oct 23, 2011 at 14:14
  • perfect though for psuedo random lists thanks DanTao Commented Jul 14, 2012 at 23:47