Ulam spiral
Version 1.0.0.0 (1.34 KB) by
Ebrahim Mousavi
Natural numbers are plotted on a spiral and the primes are marked: diagonals emerge.
When the natural numbers are plotted in a spiral and the primes are marked, they tend to fall on diagonal lines.
(description from Galileo's Finger by Peter Atkins).
Cite As
Ebrahim Mousavi (2024). Ulam spiral (https://www.mathworks.com/matlabcentral/fileexchange/31850-ulam-spiral), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Performance and Memory in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |