2 ms·
> You could use randomness and find one by guessing, but the method is inconsistent — you run the risk of generating a different prime every time. I'm having a
by yanslookup 3y ago
> You could use randomness and find one by guessing, but the method is inconsistent — you run the risk of generating a different prime every time.
I'm having a hard time reading this sentence. Obviously generating a different prime would be awesome and not a risk if finding primes is your goal. What are they trying to say here?
- danbruc 3y agoA relaxed version of find me the next prime after X, find me some prime a bit larger than X. And just as the next prime after X will always yield the same answer, they want some prime a bit larger than X to also always yield the same answer.