Question: how to find a formula for the nth partial sum?
Answer: So the formula a(n) = S(n) -S(n-1) works only for n > 1. For n = 1, a(n) = S(n) and that make sense because a(1) is first term and S(1) is sum of first 1 term.