If you don't care about missing some primes, try doing n!+1
I've never tried this but it should give primes, maybe not all the time and definately not all of them, but there you go.