← Ulam Spiral
Ulam Spiral - Sieve of Eratosthenes
A 2,000-year-old algorithm at work
Source code: https://github.com/dorjeduck/svan2d/tree/main/showcases/primes/ulam_spiral/sieve_of_eratosthenes
Remarks
- Inspiration: Prime Spirals - Numberphile
- Sieve of Eratosthenes: https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes