7

I have to solve find the value of $$\sum_{k=1}^{n/2} k\log k$$ as a part of question.

How should I proceed on this ?

Arturo Magidin
  • 398,050
user8250
  • 366

2 Answers2

7

Got it. The constant in Moron's answer is $C = \log A$, where $A$ is the Glaisher-Kinkelin constant. Thus $C = \frac{1}{12} - \zeta'(-1)$.

The expression $H(n) = \prod_{k=1}^n k^k$ is called the hyperfactorial, and it has the known asymptotic expansion

$$H(n) = A e^{-n^2/4} n^{n(n+1)/2+1/12} \left(1 + \frac{1}{720n^2} - \frac{1433}{7257600n^4} + \cdots \right).$$ Taking logs and using the fact that $\log (1 + x) = O(x)$ yields an asymptotic expression for the OP's sum $$\sum_{k=1}^n k \log k = C - \frac{n^2}{4} + \frac{n(n+1)}{2} \log n + \frac{\log n}{12} + O \left(\frac{1}{n^2}\right),$$ the same as the one Aryabhata obtained with Euler-Maclaurin summation.


Added: Finding an asymptotic formula for the hyperfactorial is Problem 9.28 in Concrete Mathematics (2nd ed.). The answer they give uses Euler-Maclaurin, just as Aryabhata's answer does. They also mention that a derivation of the value of $C$ is in N. G. de Bruijn's Asymptotic Methods in Analysis, $\S$3.7.
Mike Spivey
  • 55,550
6

Here is an asymptotic expression using EulerMcLaurin Summation.

$$ \sum _{k=1}^{n} k \log k = \int_{1}^{n} x \log x\ \text{d}x + (n\log n)/2 + C' + (\log n + 1)/12+ \mathcal{O}(1/n^2)$$

$$ = n^2(2 \log n - 1)/4 + (n\log n)/2 + (\log n)/12 + C + \mathcal{O}(1/n^2)$$

for some constant $C$.

Aryabhata
  • 82,206
  • +1, although I get $C = \frac{1}{4}$, $(\log n)/12$ rather than $(\log n)/18$, and $O(\frac{1}{n^2})$. (And I have verified this numerically.) – Mike Spivey Mar 14 '11 at 17:03
  • @MIke: You are correct. I have edited the answer. Thanks. That C=1/4 would need a proof, but that is a neat value for that constant. – Aryabhata Mar 14 '11 at 18:24
  • @Moron: You're right to be suspicious of $C = 1/4$. It's not correct. The value of $C$ to six decimal places appears to be $0.248755$ - close to $1/4$ but not quite $1/4$. I'm not sure how to prove that or get an explicit expression, though. – Mike Spivey Mar 14 '11 at 19:23
  • @Mike: Perhaps the Plouffe inverter has something. We would probably need more than 6 digits though. – Aryabhata Mar 14 '11 at 19:45
  • I tried Plouffe, with the more precise estimate $0.24875448644$, but I didn't get anything exact. Just so you know, this number comes from using Mathematica to find the difference between the OP's sum and your estimate for large values of $n$. – Mike Spivey Mar 14 '11 at 19:58
  • @Mike: There is an infinite series representation using the $B_{2k}$ which comes from the Euler McLaurin formula. It might be easier to use that to calculate the expression and might also lead us to a "closed" form expression. It is very similar (but not quite the same) to the series we get for $\sum \log k$ which gives us the Stirling's constant $\sqrt{2\pi}$, I believe. – Aryabhata Mar 14 '11 at 20:00
  • I tried that, but I got $1/4 + \sum_{k=2}^{\infty} \frac{B_{2k}}{(2k)!} (2k-3)!$, which doesn't converge. I could have made a mistake, though. – Mike Spivey Mar 14 '11 at 20:03
  • @Mike: You are right that it does not converge! I didn't actually try to work it out. Sorry about that. – Aryabhata Mar 14 '11 at 20:10
  • 1
    But you're right that the same procedure for finding Stirling's constant ought to work here. There's got to be a way to get this! :) – Mike Spivey Mar 14 '11 at 20:14