The first term of the sequence is 1.
So,
[tex] x_{1}=1 [/tex]
Every next term is the sum of all the previous terms. So second term will also be 1.
[tex] x_{2}=1 [/tex]
Third term will be the sum of first two terms. So third term will be:
[tex] x_{3}=1+1=2 [/tex]
Fourth term will be the sum of first two terms. So fourth term will be:
[tex] x_{4}=1+1+2=4 [/tex]
Fifth term will be the sum of four two terms. So fifth term will be:
[tex] x_{5}=1+1+2+4=8 [/tex]
So the first 5 terms of the sequence will be:
1, 1, 2, 4, 8, ...
From second terms onward, a Geometric series is formed with a common ratio 2. The general formula for a geometric series can be written as:
[tex] a_{n} = a_{1} (r)^{n-1} [/tex]
Using the values, we get:
[tex] a_{n} = 1 (2)^{n-1} \\ \\
a_{n} = (2)^{n-1} [/tex]
The above formula is valid for n equal to or greater than 2 and gives the general formula of the sequence.