You originally didn't specify a language so I wrote a solution in ruby:
sum_of_exponential_decays = -> n { (0..n).map {|n| 100 * 0.5**n}.reduce(:+)}
sum_of_n = -> n {(1..n).inject(0) { |acc,x| acc += sum_of_exponential_decays[x-1]}}
sum_of_n[5]
# => 806.25
The code seems pretty clear and it's summing exponential decays as it says.
For additional explanation look at the sum_of_exponential decays function, the reduce(:+) simply sums all the elements in it and:
exponential_decays = -> n { (0..n).map {|n| 100 * 0.5**n}}
(1..5).map {|x| exponential_decays[x] }
# => [[100.0, 50.0],
[100.0, 50.0, 25.0],
[100.0, 50.0, 25.0, 12.5],
[100.0, 50.0, 25.0, 12.5, 6.25],
[100.0, 50.0, 25.0, 12.5, 6.25, 3.125]]