Maths for CP
A collection of useful mathematical concepts and algorithms.
References
[Introduction to Number Theory by Mathew Crawford](#)
[GeeksforGeeks](https://www.geeksforgeeks.org/mathematical-algorithms/)
[cp-algorithms](http://cp-algorithms.com/)
[Brilliant Wiki](https://brilliant.org/number-theory/)
Articles & others
[GfG - Must do Math for Competitive Programming](https://www.geeksforgeeks.org/math-in-competitive-programming/)
[CodeChef - Mathematics For Competitive Programming](https://discuss.codechef.com/t/mathematics-for-competitive-programming/64886)