I was docked a few points on a homework assignment for not simplifying this expression, but I don't see how to simplify it much further:
$$ H(X_n) = -\sum_{i=1}^{n} \frac{1}{1-\frac{1}{2^n}} \cdot 2^{-i} \cdot \log_2(\frac{1}{1-\frac{1}{2^n}}) \cdot 2^{-i} $$
I've tried a few things such as:
$$ -\frac{1}{1-\frac{1}{2^n}}\sum_{i=1}^{n} 2^{-i} \cdot \log_2(\frac{1}{1-\frac{1}{2^n}} \cdot 2^{-i}) $$ $$ -\frac{1}{1-\frac{1}{2^n}}\sum_{i=1}^{n} 2^{-i} \cdot (\log_2(1) - \log_2(1-\frac{1}{2^n}) + \log_22^{-i}) $$
$$ -\frac{1}{1-\frac{1}{2^n}}\sum_{i=1}^{n} 2^{-i} \cdot (- \log_2(1-\frac{1}{2^n}) -i) $$
This doesn't seem simpler, and I'm not sure what to do next.