Function to display the prime number spiral and the prime squares spiral. Also check primes sum and prime squares spiral length.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Input N is an integer scalar, N > 3.
Once downloaded, typewrite 'help pnumbers_spiral' and/or 'help pnumber_squares_spiral' in Matlab console for support.
To benefit from the file documentation attached, be sure to download the files.
Please don't forget to rate this code if it helped you. Thanks ! ;-)
Cite As
Nicolas Douillet (2026). Prime numbers spiral (https://github.com/NicolasDouillet/prime_numbers_spirals/releases/tag/v1.3), GitHub. Retrieved .
General Information
- Version 1.3 (2.61 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.3 | See release notes for this release on GitHub: https://github.com/NicolasDouillet/prime_numbers_spirals/releases/tag/v1.3 |
||
| 1.2 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
