I'm new to using BigInteger, so I try to read the documentation best. I'm still confused. I need to create 500 random numbers between a range of 2 ^ 70 and 2 ^ 80, and I don't know how to set the range for BigIntegers.
I get possible duplicate messages, so probably I should add that I already examined the solutions in this and still don’t understand how to solve my problem: How to create a random BigInteger value in Java?
source
share