Abstract: This chapter presents a rigorous treatment of modular arithmetic. This leads into linear algebra, which is important for its applicability to coding, especially the class of linear codes.