Class PrimeSieve
java.lang.Object
org.episteme.core.mathematics.numbertheory.PrimeSieve
High-performance prime number generation using a segmented sieve.
*
Reference:
Prim, R. C. (1957). Shortest connection networks and some generalizations. Bell System Technical Journal, 36(6), 1389-1401.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsegmentedSieve(long limit) Generates all prime numbers up to the given limit using a segmented sieve.
-
Constructor Details
-
PrimeSieve
public PrimeSieve()
-
-
Method Details
-
segmentedSieve
-