Certain primes are easier to factor which can weaken your encryption. That was the biggest one when we where taught RSA.
let's p be a prime. return the set {1,p}.