An Introduction to Arithmetic and Geometric Sequences