gaussian_prime_spiral


gaussian_prime_spiral, an Octave code which computes a twisting spiral path along the Gaussian primes, and displays a plot of the total trajectory.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

gaussian_prime_spiral is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

gaussian_prime_spiral_test

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

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

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

ulam_spiral, an Octave 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.

Reference:

Source Code:


Last modified on 22 April 2023.