You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Just enter a number for searchlimit in the source code. Then run it. On my old Macbook Pro, it takes only 0.112 seconds to list the primes to 10,000. That's not the fastest possible method, but pretty clean and quick. And easy to read and understand. Handy, and only about ten lines of code including tic and toc.
Cite As
Bud Kelly (2026). tight prime generator (https://uk.mathworks.com/matlabcentral/fileexchange/66708-tight-prime-generator), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.09 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
