File Exchange

image thumbnail

Prime numbers

version 1.0.0.0 (1.13 KB) by alexander
Prime number search

0 Downloads

Updated 26 Mar 2017

View License

searches for all primes up to input "max". I have optimized this as much as I can. Any suggestions on how to increase performance will be appreciated. Looking to get to 1B faster. estimated it would take around 2 hrs on my machine

Comments and Ratings (2)

alexander

substantial performance increase coming soon. 1B may be back on the table.

alexander

after some more testing I have determined extrapolation is a very bad idea and I cannot predict solution time for larger values. 1B is probably out of the question.

Updates

1.0.0.0

added prime tag

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux