n = 8
the sum to n terms of a geometric sequence is
=
where a is the first term and r the common ratio
here a = 16 and r =
=
= - 2
= ( 16( 1 - ( - 2 )^n )/1 - (- 2 )) = - 1360
( 1 - (- 2 )^n ) = - 1360
multiply both sides by
1 - (- 2 )^n = - 255
- (- 2 )^n = - 256
)-2)^n = 256
note that
and
= 256
hence n = 8