English

If the sum of 1 + 2 + 22 + ....... + 2n – 1 is 255, find the value of n. - Mathematics

Advertisements
Advertisements

Question

If the sum of 1 + 2 + 22 + ....... + 2n – 1 is 255, find the value of n.

Sum
Advertisements

Solution

Required series: 1 + 2 + 22 + ....... + 2n – 1

Now, `2/1 = 2, 2^2/2 = 2`

Thus, given series is a G.P. with first term, a = 1

Common ratio, r = 2  ...(∵ r > 1)

Last term, l = 2n – 1

Let there be n terms in the series.

Then, Sn = 255

`=> (lr - a)/(r - 1) = 255`

`=> (2^(n - 1) xx 2 - 1)/(2 - 1) = 255`

`=>` 2n – 1 × 2 – 1 = 255

`=>` 2n – 1 × 2 = 256

`=>` 2n – 1 = 128

`=>` 2n – 1 = 27

`=>` n – 1 = 7

`=>` n = 8

shaalaa.com
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×