Prime Spiral

References

https://en.wikipedia.org/wiki/Dirichlet%27s_theorem_on_arithmetic_progressions
https://www.youtube.com/watch?v=EK32jo7i5LQ