Generate a massive prime number in seconds
PurpleMind demonstrates how modern algorithms generate giant prime numbers in just seconds. The key is they don’t actually check if it is exactly prime, but can do so with very high confidence using certain properties of primes. Bonus points for the fact he gives code too.