Here, a = , d = – = –, Sn = . Let number of terms of AP is n, then we need to find n.
or n2 – n + = 0
or (n – )(n – ) = 0
or n = or
Both values of n are admissible. So, the number of terms is either or .