Thanks for reading this document!

Leonardo DiCaprio congratulating you (The Great Gatsby)
This document contains -almost- my entire knowledge about math (number theory) I use in competitive programming.
Hope it helps you along your competitive programming journey.
Also, you may check out this educational math problem set on algoleague to practice: Nice to Math You!
Wish you all good luck!

Last but not least… (An inner joke at inzva)

Credit: Serhat Sarı