gaussian_prime_spiral, a MATLAB code which computes a twisting spiral path along the Gaussian primes, and displays a plot of the total trajectory.
The computer code and data files made available on this web page are distributed under the MIT license
gaussian_prime_spiral is available in a MATLAB version and a Python version.
fibonacci_spiral, a MATLAB code which displays points on a Fibonacci spiral, suggesting the arrangement of seeds in a sunflower, for instance.
is_gaussian_prime, a MATLAB code which is true if a given complex number c is a Gaussian prime.
prime_plot, a MATLAB code which displays a box plot of the prime and composite numbers.
ulam_spiral, a MATLAB code which displays the integers as a spiral of grid cells, with the primes highlighted, so show that they tend to fall along diagonals, as discovered by Stanislaw Ulam.