Solveeit Logo

Question

Question: If the sum of \[1 + 2 + {2^2} + ....... + {2^{n - 1}}\] is 255, find the value of \[n\]?...

If the sum of 1+2+22+.......+2n11 + 2 + {2^2} + ....... + {2^{n - 1}} is 255, find the value of nn?

Explanation

Solution

In the given question we need to find the value of nn. Here, we will use the concept of geometric progression to solve the question. We will first find the ratio, then substitute the value of first term and common ratio in the formula for G.P. to find the required value.

Formula used:
To find the sum of first n terms, denoted by Sn{S_n} of a geometric sequence we will use the formula, Sn=a(1rn)1r{S_n} = \dfrac{{a(1 - {r^n})}}{{1 - r}} , where nn is the number of terms, aa is the first term and rr is the common ratio.

Complete step by step solution:
The given series is a geometric progression.
Now we will find the common ratio of the given series. Therefore, we get
Common ratio, rr=21\dfrac{2}{1}=222\dfrac{{{2^2}}}{2}
Now we can say the given series is a G.P. with the first term a=1a = 1 and common ratio r=2r = 2.
We are also given that the sum of nn terms of a given series is 255.
We know that the sum of nn terms is given by Sn=a(1rn)1r{S_n} = \dfrac{{a(1 - {r^n})}}{{1 - r}}.
Now substituting Sn=255{S_n} = 255 in the formula, we get
a(1rn)1r=255\Rightarrow \dfrac{{a(1 - {r^n})}}{{1 - r}} = 255
Substituting the value of r=2r = 2 and a=1a = 1, we get
1(12n)12=255\Rightarrow \dfrac{{1(1 - {2^n})}}{{1 - 2}} = 255
12n1=255\Rightarrow \dfrac{{1 - {2^n}}}{{ - 1}} = 255
Multiplying both sides of the above equation by 1 - 1,we get
12n1×(1)=255(1)\Rightarrow \dfrac{{1 - {2^n}}}{{ - 1}} \times \left( { - 1} \right) = 255\left( { - 1} \right)
12n=255\Rightarrow 1 - {2^n} = - 255= -255
Subtracting 1 from both sides, we get
12n1=2551\Rightarrow 1 - {2^n} - 1 = - 255 - 1
2n=256\Rightarrow {2^n} = 256
2n=28\Rightarrow {2^n} = {2^8}

Therefore, by comparing both sides of the above equation, we get
n=8\Rightarrow n = 8

Note:
Geometric progression is a type of progression or a series in which the consecutive terms differ by a common ratio. It is different from the arithmetic progression. An arithmetic progression is also a type of progression or series in which the consecutive terms have a common difference.