Unsigned integers greater than 1 that have no positive divisors other than 1 and themselves.
Implementation
2, 3, 5, 7, 11, 13, 17, 19, 23, 29
Usage
List<int> result = Series.PrimesUpTo(1000);
result = 1000.PrimesUpTo();
Benchmarks
dotnet run --project ./Benchmarks/Benchmarks.csproj -c Release -- --job short --memory --f *Primes*