This textbook compiles lessons from the Foundations of Mathematics course at the Autonomous University of Barcelona. It is designed to introduce students beginning their mathematics studies to the major overarching ideas in the field—such as symmetry, structure, equivalence, abstraction, generalization, analogy, and computability. It also aims to familiarize students with the structure of mathematical discourse—how mathematics is written—and to support them in the challenging task of developing the rigor and creativity required of a professional mathematician.In this work, readers will encounter the big ideas and fundamental principles that shape mathematical discourse, including logic, group theory, Peano's axioms, Russell's paradox, the prime number theorem, RSA cryptography, Euler's formula, and more. After each part, a set of carefully selected exercises helps students to gain greater exposure to—and confidence in—the rigors of mathematics.Guided by aesthetic and playful principles, this book offers a gentle, passionate, and joyful approach to some of the most essential concepts in mathematics. It provides enjoyment for teachers, students, and anyone with an inclination toward the subject, and is particularly appealing to high-achieving high school students seeking to delve into college-level mathematics.