There is a "formula" for this given by
Sn = (a1)(1 - r^n) / ( 1 - r) where Sn is the sum of the first n terms, a1 is the first term, and r is the common ratio (1/3, in our case)
So we have
S7 = (1/3) [(1 -(1/3)^7 ] / [ 1 - (1/3) ] = (1/3) [ 1 - 1/2187 ] / (2 /3) = [1 - 1/2187] / 2 = 1093/2187 = about .49977 ≈ .5
There is a "formula" for this given by
Sn = (a1)(1 - r^n) / ( 1 - r) where Sn is the sum of the first n terms, a1 is the first term, and r is the common ratio (1/3, in our case)
So we have
S7 = (1/3) [(1 -(1/3)^7 ] / [ 1 - (1/3) ] = (1/3) [ 1 - 1/2187 ] / (2 /3) = [1 - 1/2187] / 2 = 1093/2187 = about .49977 ≈ .5