Compute
n→∞limloglogn1k=1∑n(−1)k(kn)logk.
(Here log denotes the natural logarithm.)
Fedor Petrov, St. Petersburg State University
Solution 1 of 2 (official)
Answer: 1.
The idea is that if f(k)=∫gk, then
∑(−1)k(kn)f(k)=∫(1−g)n.
To relate this to logarithm, we may use the Frullani integrals
∫0∞xe−x−e−kxdx=c→+0lim∫c∞xe−xdx−∫c∞xe−kxdx=c→+0lim∫c∞xe−xdx−∫kc∞xe−xdx=c→+0lim∫ckcxe−xdx=logk+c→+0lim∫ckcxe−x−1dx=logk.
This gives the integral representation of our sum:
A:=k=1∑n(−1)k(kn)logk=∫0∞x−e−x+1−(1−e−x)ndx.
Now the problem is reduced to a rather standard integral
asymptotics.
We have (1−e−x)n⩾1−ne−x by Bernoulli
inequality, thus
0⩽−e−x+1−(1−e−x)n⩽ne−x,
and we get
0⩽∫M∞x−e−x+1−(1−e−x)ndx⩽n∫M∞xe−xdx⩽nM−1∫M∞e−xdx=nM−1e−M.
So choosing M such that MeM=n (such M exists and goes
to ∞ with n) we get
A=O(1)+∫0Mx−e−x+1−(1−e−x)ndx.
Note that for 0⩽x⩽M we have
e−x⩾e−M=M/n, and
(1−e−x)n−1⩽e−e−x(n−1)⩽e−M(n−1)/n tends to 0 uniformly in x. Therefore
∫0Mx(1−e−x)(1−(1−e−x)n−1)dx=(1+o(1))∫0Mx1−e−xdx.
Finally
∫0Mx1−e−xdx=∫01x1−e−xdx+∫1Mx−e−xdx+∫1Mxdx=logM+O(1)=log(M+logM)+O(1)=loglogn+O(1),
and we get A=(1+o(1))loglogn.
Solution 2 of 2 (official)
We start with a known identity (a finite difference of 1/x).
Expand the rational function
f(x)=x(x+1)…(x+m)m!
as the linear combination of simple fractions
f(x)=∑j=0mcj/(x+j). To find cj we use
cj=((x+j)f(x))x=−j=(−1)j(jm).
So we get
k=0∑m(−1)k(km)x+k1=x(x+1)…(x+m)m!.(1)
Another known identity we use is
= \sum_{k=j+1}^{n} (-1)^k \left( \binom{n-1}{k}
+ \binom{n-1}{k-1} \right)
= (-1)^{j+1} \binom{n-1}{j}.k=j+1∑n(−1)k(jn)=k=j+1∑n(−1)k((kn−1)+(k−1n−1))=(−1)j+1(jn−1).(2)
Finally we write
logk=∫1kxdx=∑j=1k−1Ij, where
Ij=∫01x+jdx.
Now we have
S:=k=1∑n(−1)k(kn)logk=k=1∑n(−1)k(kn)j=1∑k−1Ij=j=1∑n−1Ijk=j+1∑n(−1)k(kn)=(2)j=1∑n−1Ij(−1)j+1(jn−1)==∫01(j=1∑n−1(−1)j+1(jn−1)x+j1)dx=∫01(x1−j=0∑n−1(−1)j(jn−1)x+j1)dx=(1)=∫01(x1−x(x+1)…(x+(n−1))(n−1)!)dx=∫01xdx(1−(1+x)(1+x/2)…(1+x/(n−1))1).
So S is again expressed as an integral, for which it is not
hard to get an asymptotics.
Since et⩾1+t for all real t (by convexity or any
other reason), we have
ey2−y⩾1+y2−y=1+y1+y3⩾1+y1 and
1+y1⩾ey1=e−y for y>0.
Therefore
ey2−y⩾1+y1⩾e−y,y>0.
Using this double inequality we get
ex2(1+221+⋯+(n−1)21)−x(1+21+⋯+n−11)⩾(1+x)(1+x/2)…(1+x/(n−1))1⩾e−x(1+21+⋯+n−11).
Since
x2(1+1/22+…)⩽2x2⩽2x, we
conclude that
(1+x)(1+x/2)…(1+x/(n−1))1=e−Cnx,where −2+j=1∑n−1j1⩽Cn⩽j=1∑n−1j1,
i.e., Cn=logn+O(1). Thus