Graphing the difference between primes in python using matplotlib.
Wrote a little script which when supplied with a number can be used to plot the graphs of difference between the prime numbers,
this is the Code,
it is written in Jupyter notebook(Here), if you want take a look. Please do so, any constructive criticism is always welcome.
Initial motivation was that i will get some pattern and a 21st century Ramanujan will be born, I was WRONG.
I think theoretically there is no limit to how much you can enter but when i entered 500,000. I am waiting for 10 min for it to process so that I can attach the screenshot but nope. Finally abandoned it and entered the ss of n = 100000
update 1: If you don not own anaconda distribution right now, then you can download the notebook from here. And upload it here, on file>upload Notebook. then you are good to go. It will all in all be a 6KB of data transfer, I am sure your internet can bear that.
Comments
Post a Comment