Arithmetic Sequence Calculator