On 16/05/2017 21:28, Richard Kuebbing wrote:
So I need a set of 99,999 random numbers which are 5 digits and
unique, i.e. no duplicates. CEERAN0 and Cobol FUNCTION RANDOM both
give sets w/30+% duplicates.
There are only 90,000 unique 5 digit numbers: 10,000 to 99,999
inclusive.
--
Martin
Dr Martin Ward STRL Principal Lecturer & Reader in Software Engineering
[email protected] http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4
G.K.Chesterton web site: http://www.cse.dmu.ac.uk/~mward/gkc/
Mirrors: http://www.gkc.org.uk and http://www.gkc.org.uk/gkc