Georgi Guninski on Sun, 12 May 2024 11:38:53 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

p=randomprime(2^2000) is significantly slower than isprime(p)


I find it counter-intuitive p=randomprime(2^2000) to be
significantly slower than isprime(p)


Session
---
default(timer,1)
setrand(1)
p=randomprime(2^2000)
isprime(p)
ispseudoprime(p)
---