Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to solve the following summation:

$$ n \sum_{i=0}^{\log_3 (n-1)} \log_3 \frac{n}{3^i} $$

The last part is $\log (\frac{n}{3^i})$. I can't by the life of me figure this out. I know that it should equal this:

$$ \sum_{i=0}^{\log_3n-1} n\log n - \sum_{i=0}^{\log_3n-1} n \log_3 3^i $$

share|cite|improve this question
up vote 0 down vote accepted

So using the law of logarithms, as you have already determined:

$$n\sum_{i=0}^{\log_{3}(n-1)}{\log_{3}{\frac{n}{3^{i}}}}=n\left(\sum_{i=0}^{\log_{3}{(n-1)}}{\log_{3}(n)-\sum_{i=0}^{\log_{3}(n-1)}}i \log_{3}{3}\right)$$

However, we have $\log_{3}{3}=1$, so the second term can simply be evaluated: $$\sum_{i=0}^{\log_{3}(n-1)}i\log_{3}{3}=\sum_{i=0}^{\log_{3}(n-1)}i=\frac{\log_{3}(n-1)\times(\log_{3}(n-1)+1)}{2}$$

The first term can be evaluated by noticing that $\log_{3}(n)$ is a constant, independent of $i$, and therefore can be rewritten:


Therefore the entire series can be rewritten:


share|cite|improve this answer



Now you have an arithmetic series.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.