Solution:
Concept: The sum of the first n terms of a G.P. with first term a and common ratio r=1 is
Sn=r−1a(rn−1)
(the same as 1−ra(1−rn), handier when r<1). If the last term l is known, Sn=1−ra−lr.
Step 1 — Find a, r and l. Here a=81, the ratio is −27 divided by 81 (so r=−31), and the last term is l=−271.
Step 2 — Work out lr. Two negative signs multiply to a positive.
lr=(−271)×(−31)=811
Step 3 — Use Sn=1−ra−lr. The denominator is 1−r, which we work out first.
1−(−31)=34
Sn=3481−811=816560×43=271640=602720
Step 4 — Check the number of terms. The terms are 81, −27, 9, −3, 1, −31, 91, −271: eight terms, ending at the given last term. Adding them gives the same total.
Therefore, the sum is 602720.