Explanation:
An arithmetic progression or arithmetic sequence is a sequence of numbers such that the difference between the consecutive terms is constant. For instance, the sequence 5, 7, 9, 11, 13, 15.. . is an arithmetic progression with a common difference of 2.
Arithmetic progression is S = 1/2n[2a+(n-1)d]
----------------------------------------
In mathematics, a geometric progression, also known as a geometric sequence, is a sequence of non-zero numbers where each term after the first is found by multiplying the previous one by a fixed, non-zero number called the common ratio.
Geometric progression is Uₙ = arⁿ ⁻ ¹