Finite Arithmetic Sequence Formula