This textbook introduces number theory from a computational perspective, emphasizing algorithmic techniques and real-world applications. Designed for students with programming experience, it includes examples in Mathematica and focuses on fundamental topics such as primality testing, modular arithmetic, and cryptographic algorithms.