# If the sum of first 7 terms of an AP is 49 and that of 17 terms is 289, find the sum of first n terms

**Solution:**

Sum of the first n terms of an AP is given by S_{n} = n/2 [2a + (n - 1) d] or S_{n} = n/2 [a + l], and the nth term of an AP is a_{n} = a + (n - 1)d

Here, a is the first term, d is the common difference and n is the number of terms and l is the last term.

Given,

- Sum of first 7 terms, S
_{7}= 49 - Sum of first 17 terms, S
_{17}= 289

We know that sum of n terms of AP is S_{n} = n/2 [2a + (n - 1) d]

= 7/2 [2a + (7 - 1)d]

49 = 7/2 [2a + 6d]

a + 3d = 7 ... (i)

S17 = 17/2 [2a + (17 - 1) d]

289 = 17/2 [2a + 16d]

a + 8d = 17 ... (ii)

Subtracting equation (i) from equation (ii),

5d = 10

d = 2

From equation (i),

7 = a + 3 × 2

7 = a + 6

a = 1

S_{n} = n/2 [2a + (n - 1) d]

= n/2 [2 × 1 + (n - 1) 2]

= n/2 [2 + 2n - 2]

= n/2 × 2n

= n²

**Video Solution:**

## If the sum of first 7 terms of an AP is 49 and that of 17 terms is 289, find the sum of first n terms

### Class 10 Maths NCERT Solutions - Chapter 5 Exercise 5.3 Question 9 :

If the sum of first 7 terms of an AP is 49 and that of 17 terms is 289, find the sum of first n terms

The sum of first 7 terms of an AP is 49 and that of 17 terms is 289 then the sum of first n terms is equal to n^{2}