Abstract algebra offers the foundation of discrete mathematics.
Mathematics - Discrete Mathematics
https://www.youtube.com/watch?v=DBugSTeX1zw&list=PLDDGPdw7e6Aj0amDsYInT_8p6xTSTGEi2
MIT - Discrete Mathematics, Mathematics for computer science
See Mathematical logic, Set theory, etc.