Generate primes efficiently by testing against previously found primes and taking advantage of some patterns.
- Track runtime
- Can build from a saved list or from scratch
- Only tests potential primes against primes found earlier (speedup)
- Skips even numbers (except 2) and other guaranteed composites
- Good flow with simple and natural inputs