jackmoody11 / goldbach

Plots unique number of ways to make an even number >= 4 out of two primes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Goldbach

Plots unique number of ways to make an even number >= 4 out of two primes

Here is the result of running

goldbach(1000)

goldbach(1000) graph

As a quick way to test this function, you can insert this function into Octave and run goldbach(500) at https://octave-online.net/.

Future Ideas

In the future, it would be interesting to have a moving average plot that overlays on top of this graph to see how many different pairs of primes can be used to make any even number.

About

Plots unique number of ways to make an even number >= 4 out of two primes

License:MIT License


Languages

Language:MATLAB 100.0%