Category : primes

I’m trying to generate random prime numbers for an rsa assignment. I thought about filling an array with prime numbers and then generating a random from the index number (hope that makes sense). But i’m kind of lost on how to actually fill the array 🙁 This is what i have so far int arreglo[25]; ..

Read more