gaussian_prime_spiral, a Python 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.

Related Data and Programs:

fibonacci_spiral, a Python code which displays points on a Fibonacci spiral, suggesting the arrangement of seeds in a sunflower, for instance.

is_gaussian_prime, a Python code which is true if a given complex number c is a Gaussian prime.

prime_plot, a Python code which displays a box plot of the prime and composite numbers.


Source Code:

Last modified on 28 January 2023.