I don't really want to brute force #4.
Speed up prime generator.