Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 746 Bytes

README.md

File metadata and controls

16 lines (8 loc) · 746 Bytes

Primes

Sieving primes and counting primes

This is a small code base that I have accumulated over years playing with prime numbers on my free time. Initially I did run this code in Pythonista on my iPhone. This is adopted to run on laptop with python3.

Prime sieves come mostly from this thread on Stackexchange - I have adapted some to python3. A little is forked form this github project. Other sources are in the code. Not all.

I have also added few tricks on my own.

Benchmark

PlotPi

PlotPrime