Sum of Arithmetic Progressions