Solved one more. Can't remember which. Also QuadraticPrimes is pretty close. Has a small bug