prime_plot, an Octave code which displays a "box plot" of the prime and composite numbers.
An N by N grid A of squares is displayed. If N is prime, then the squares A(N,1:N) are red. If N is composite, then A(N,D) is blue for each divisor of N.
prime_plot ( 'n_max' )where
The computer code and data files described and made available on this web page are distributed under the MIT license
prime_plot is available in a MATLAB version and an Octave version a Python version.
box_display, an Octave code which displays a box plot, over integer pairs of data, of a function defined by two formulas.
prime, an Octave code which counts the number of primes between 1 and N, intended as a starting point for the creation of a parallel version.