-- Feb 2 In-Class Exercise
Pick a random number between 1 and n^3, where n < 4,000,000,000.
This number identifier will be in any range between 1 and 6.4e+28, which is within the condition of less than 96 bits, that is 2^96 = 7.92e+28.
From the lecture notes, we have proven the claim that the probability that all the priorities are unique is at least 1- 1/n.
So at most, the probability that we will have all unique identifiers will be at least:
1 - 1/4,000,000,000 which is greater than 1 - 1/1,000,000,000.
Pick a random number between 1 and n^3, where n < 4,000,000,000.
This number identifier will be in any range between 1 and 6.4e+28, which is within the condition of less than 96 bits, that is 2^96 = 7.92e+28.
From the lecture notes, we have proven the claim that the probability that all the priorities are unique is at least 1- 1/n.
So at most, the probability that we will have all unique identifiers will be at least:
1 - 1/4,000,000,000 which is greater than 1 - 1/1,000,000,000.