Calculate Sum Of Arithmetic Sequence