You have the sum of first eight terms of geometric progression with the first term 8 and the common ratio 2. Use the formula for the sum of first n terms of geometric progression (see the lesson Geometric progressions in this site) S =+ + + . . . + = = = = 8*255 = 2040