Given :
A.P such that S7 = ; S17 =
We know that,
⇒ = a + d .........(1)
⇒ = a + d .........(2)
d =
Substituting d = in equation (1), we get,
a + × =
⇒ a = – =
∴ a = ; d =
∴ Sum of first n terms Sn = n2.
Shortcut: S7 = = 2
S17 = = 2
∴ Sn = n2