Ulam Spiral or Prime Spiral

Version 2.0.0 (1.14 KB) by Rebanta Dey
Prints Prime Spiral Pattern
58 Downloads
Updated 6 Mar 2020

View License

Ulam Spiral was discovered by mathematician Stanisław Ulam in 1963 which is a graphical representation of (p,p) where p is the prime number in polar coordinate. The program first finds all the prime number from 0 to the maximum range and plots it in (p,p) fashion in the polar coordinate.

Cite As

Rebanta Dey (2026). Ulam Spiral or Prime Spiral (https://www.mathworks.com/matlabcentral/fileexchange/74435-ulam-spiral-or-prime-spiral), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
2.0.0

Added Comments

1.0.0