My friend asked me this interesting problem, but I have no idea how to solve it. Given summation as below:
where denotes the number of positive integer divisors of (you can read here). Determine whether the sum diverges or converges (and if so to what)?
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Define χ(m)={+1−1m≡1(mod4)m≡3(mod4).Then, the sum is n=0∑∞2n+1χ(2n+1)τ(2n+1).
Notice that χ(m),τ(m),m are multiplicative functions, i.e.:
If m=i=1∏rpiei for some primes pi, then mχ(m)τ(m)=i=1∏rpieiχ(piei)τ(piei).
So, if we ignore convergence, we can factor the summation in a manner similar to the Euler Product:
m is odd∑mχ(m)τ(m)=\substackp is primep=2∏k=0∑∞pkχ(pk)τ(pk)=\substackp is primep=2∏k=0∑∞pkχ(p)k(k+1).
=\substackp is primep=2∏(1−pχ(p))21=⎝⎛\substackp is primep=2∏k=0∑∞pkχ(p)k⎠⎞2=⎝⎛\substackp is primep=2∏k=0∑∞pkχ(pk)⎠⎞2.
Then, by doing the Euler Product technique in reverse, we get:
(m is odd∑mχ(m))2=(n=0∑∞2n+1(−1)n)2=(tan−1(1))2=(4π)2=16π2.
Also, note that none of this proves convergence.
Log in to reply
Indeed, this is a beautiful calculation! I will add one small comment: if one can show first that the original series converges, then one can actually justify all the steps in your computation, and prove that the final answer is correct. (This is not obvious, since you have to manipulate conditionally convergent series at several steps.) The background for these ideas will be explained in the next Understanding Mathematics discussion, which will be devoted to the Zeta function and Dirichlet series.
Log in to reply
Hello John, is that mean you consider the sum converges so it can produce 16π2?
Log in to reply
However, it is possible to prove rigorously that if the series you gave us converges at all, then its sum must be equal to π2/16. So instead of justifying several manipulations with infinite series, it is enough to prove one convergence statement.
Log in to reply
Just figured it out. See edits to above post.
Log in to reply
Beautiful! Thanks Jimmy, you almost answered my question. I think it is converges but still I haven't figured any proper proof yet.
Jimmy, may I know why you define that by (mod4)?
Log in to reply
If 2n+1≡1(mod4) then n≡0(mod2) and (−1)n=+1.
If 2n+1≡3(mod4) then n≡1(mod2) and (−1)n=−1.
That is why (mod4) is useful there.
Thank you Fariz for sharing this question with us. As is probably clear from the number of comments posted for this discussion, this is an extremely interesting question. Not only is it highly nontrivial, but it is also related to several very important ideas in analytic number theory. In particular, Jimmy's first calculation is related to the subject of Dirichlet series (of which Riemann's zeta function is the most famous example). Here I will present an alternative proof of convergence (without computing the actual value of the sum). My primary goal is to illustrate the use of the summation by parts technique, which is incredibly important -- not just in analytic number theory but in many other areas.
To save space, I will be a bit sketchy, but feel free to ask for clarification of any of the steps in the proof.
Step 1. Since the n-th term of the series goes to 0 as n→∞, it is enough to show that the sequence of the even-numbered partial sums of Fariz's series has a limit, or equivalently, that it is a Cauchy sequence. So let's consider SN=n=0∑2N−12n+1(−1)nτ(2n+1). We can write SN=XN−YN, where XN=k=0∑N−14k+1τ(4k+1), YN=k=0∑N−14k+3τ(4k+3).
Step 2. Let's pause for a second and try to understand why proving convergence is so difficult. The individual sequences XN and YN both tend to ∞ as N→∞, so to show that SN has a limit, we need to show (informally speaking) that XN and YN grow at approximately the same rate (this will be made completely precise below). The reason it is hard to estimate the rate of growth of XN is that the divisor function τ(k) oscillates rather wildly: for instance, it achieves arbitrarily high values, but at the same time, it also hits the value 2 infinitely often. This is where summation by parts comes to the rescue. It is a very general method for improving the behavior of sums of oscillating terms. (Summation by parts is the discrete analogue of integration by parts, which is even more important, and can likewise be used to handle oscillating integrals.) We will use the following version of summation by parts, which you can easily check. Suppose that ak and ck are sequences of real or complex numbers (k≥0). Then for all integers N>M>0, k=M∑N−1akck=ANcN−1−AMcM−1+k=M∑N−1Ak(ck−1−ck) where Ak=∑j=0k−1aj for all k≥1 (to prove this, write ak=Ak+1−Ak).
Step 3. Let us apply the above formula with ak=τ(4k+1) and ck=4k+11. We have ck−1−ck=4k−31−4k+11=(4k−3)(4k+1)4=41k−2+O(k−3), so with the notation introduced earlier, we obtain XN−XM=k=M∑N−14k+1τ(4k+1)=4N−3AN−4M−3AM+41k=M∑N−1Ak⋅(k−2+O(k−3)), where Ak=∑j=0k−1τ(4j+1). A similar calculation shows that YN−YM=k=M∑N−14k+3τ(4k+3)=4N−1BN−4M−1BM+41k=M∑N−1Bk⋅(k−2+O(k−3)), where Bk=∑j=0k−1τ(4j+3).
Step 4. Here comes the second crucial ingredient: using the idea of the Dirichlet hyperbola method to estimate the rate of growth of the sequences Ak and Bk. This step is very closely related to the approach used in Jimmy's second calculation. I leave it as a very instructive exercise to modify the argument presented here to prove the following estimates: j=0∑N−1τ(4j+1)=21Nlog(N)+22γ+4log(2)−1N+O(N) and j=0∑N−1τ(4j+3)=21Nlog(N)+22γ+4log(2)−1N+O(N), where γ is Euler's constant.
Step 5. Now we are essentially done. Using the asymptotic formulas for Ak and Bk given above (which imply, in particular, that Ak−Bk=O(k) and that Ak and Bk are both O(klog(k))), we obtain, after various straightforward manipulations: SN−SM==(XN−XM)−(YN−YM)O(N−1/2log(N))+O(M−1/2log(M))+k=M∑N−1O(k−3/2), and this is enough to conclude that {SN} is a Cauchy sequence. EDIT: as pointed out below, I was careless/pessimistic: in fact, we get a better estimate SN−SM=O(N−1/2)+O(M−1/2).
Log in to reply
Hi. Your proof is very good. But, in the last step, when I tried to calculate SN−SM, I get it as O(N−21) and not O(N−21log(N)). Can you please clarify this?
Log in to reply
EDITED Yes, I think that your calculation is correct, and I inserted the appropriate remark into my proof. Thank you for pointing this out!
Log in to reply
Log in to reply
Here is my attempt: I did not use the Euler Product and I think my solution also explains why the sum converges.
The basic idea looks like this:
Split the divisor function into parts, then sum them up.
Define τ1(n)=1 if n is divisible by 1, and 0 otherwise. Clearly, this will always evaluate for 1. Also, define τ3(n)=1 if n is divisible by 3, and 0 otherwise. And so on.
Clearly, τ(n)=a=1∑∞τa(n).
Note the following, when summing up all the values of 2n+1 divisible by some 2a+1, all such positive values of n are generated by (2a+1)k+a for k≥0
Now we can rewrite the original sum as a=0∑∞k=0∑∞2((2a+1)k+a)+1(−1)(2a+1)k+a
Now if we only evaluate ∑k=0∞2((2a+1)k+a)+1(−1)(2a+1)k+a for some fixed a, we will get 2a+1tan−1((−1)a).
Note that tan−1((−1)a)=41π(−1)a
If we evaluate this for all a, we will get π2/16
I am really sorry for poor formatting. Please reply to this if you did not understand what I meant.
Log in to reply
Hello, Ivan. Thanks for your great attempt. I think your proof is easy to understand and also well written. But could you explain how you get 41π(−1)a=16π2? I'm lost here. Thanks.
Log in to reply
Ok, I will explain:
The original sum is equal to:
∑a=0∞∑k=0∞2((2a+1)k+a)+1(−1)(2a+1)k+a
The inner sum can be evaluated to
∑k=0∞2((2a+1)k+a)+1(−1)(2a+1)k+a=2a+1tan−1((−1)a)
We can replace tan−1((−1)a)=41π(−1)a and pull 4π out of the sum. If we do, we will get 41π∑a=0∞2a+1(−1)a which evaluates to 16π2
Hope this helps
Log in to reply
My first attempt was something similar to what you did. I managed to not get anywhere then, but now it seems to work out a bit better.
First, let's work with the sum from n=0 to N and then take the limit as N→∞.
Define I(k,n)=1 if 2k+1∣2n+1 and 0 otherwise. Then:
SN=n=0∑N2n+1(−1)nτ(2n+1) =n=0∑Nk=0∑n2n+1(−1)nI(k,n) =k=0∑Nn=k∑N2n+1(−1)nI(k,n)
Since the sum is finite, changing the order is valid.
Note that, 2k+1∣2n+1 iff 2n+1=(2k+1)(2m+1) iff n=2km+k+m where m∈N0.
Also, k≤2km+k+m≤N holds iff 0≤m≤2k+1N−k. This gives us:
k=0∑Nm=0∑⌊2k+1N−k⌋(2k+1)(2m+1)(−1)2km+k+m =k=0∑Nm=0∑⌊2k+1N−k⌋(2k+1)(2m+1)(−1)k+m =k=0∑N2k+1(−1)km=0∑⌊2k+1N−k⌋2m+1(−1)m.
Now, we must show that SN→k=0∑∞2k+1(−1)km=0∑∞2m+1(−1)m=(4π)2=16π2 as N→∞.
However, actually showing this rigorously might not be as easy as it looks.
Log in to reply
So, it turns out that showing that SN→16π2 as N→∞ is doable, but very annoying.
The sum SN is over X={(k,m)∈N02 ∣ (2k+1)(2m+1)≤2N+1}.
Let A={(k,m)∈X ∣ 2k+1≤2N+1}.
Let B={(k,m)∈X ∣ 2m+1≤2N+1}.
Clearly, X=A∪B.
Note that k=0∑n2k+1(−1)k=4π+O(n1) and k=0∑n2k+11=O(lnn).
Let L=⌊21(2N+1−1)⌋. Note that if k≤L then 2k+1N−k≥L. Also, L=O(N).
Then, the sum over A is:
(k,m)∈A∑(2k+1)(2m+1)(−1)k+m =k=0∑L⎣⎡2k+1(−1)km=0∑2k+1N−k2m+1(−1)m⎦⎤
=k=0∑L[2k+1(−1)k(4π+O(L1))] =4πk=0∑L2k+1(−1)k+O(lnL)O(L1)
=4π(4π+O(L1))+O(LlnL) =16π2+O(LlnL) =16π2+O(NlnN).
The same can be done for the sum over B by switching the roles of k and m.
The sum over A∩B is:
(k,m)∈A∩B∑(2k+1)(2m+1)(−1)k+m =k=0∑L[2k+1(−1)km=0∑L2m+1(−1)m]
=[k=0∑L2k+1(−1)k][m=0∑L2m+1(−1)m] =(4π+O(L1))(4π+O(L1))
=16π2+O(L1) =16π2+O(N1).
By Principle of Inclusion-Exclusion, the sum over X is the sum over A plus the sum over B minus the sum over A∩B which is:
SN=2(16π2+O(NlnN))−(16π2+O(N1)). =16π2+O(NlnN).
As N→∞, we have NlnN→0, and thus, SN→16π2 as desired.
Note that I used Big-O notation here because actually computing an expression for the error terms isn't nearly as important as showing that the error terms tend to zero.
If anyone else can come up with a simpler solution that is rigorous, please post it.
Log in to reply
Log in to reply
Could you explain in more detail how you get the conclusion in the line that begins with "Now we can rewrite the original sum as..."? In particular, it seems to me (at least at first glance) that somewhere in this step you are interchanging the order of two infinite summations. If so, how do you justify this step?
Log in to reply
Let's split the tau function into parts, as described.
So, for the first possible divisor, one, we simply evaluate ∑k=0∞2k+1(−1)k
For the second one, three, we shall only take values of 2n+1 divisible by 3. So, our sum will look like this: ∑k=0∞2(3k+1)+1(−1)3k+1
For the third one, five, the sum will look like this: ∑k=0∞2(5k+2)+1(−1)5k+2
And so on.
To get to the original sum, we simply sum up all the sums we had here.
And yes, it is possible that I have exchanged the order of summation. I am pretty sure that there is a reason why this should be considered correct, although I am not trained enough in calculus to know why. Maybe I am wrong, who knows?
I just wanted to give a simpler idea not relying on the Euler Product.
P.S.
There is no need to exchange the order of summation. One can keep a in the inside sum and still get the same result. Note that the denominator is equal to (2k+1)(2a+1). So now I am pretty confident that my solution is ok
Log in to reply
Log in to reply
Log in to reply
τ(2n+1) in your original series with ∑a=1∞τa(2n+1). This is of course perfectly legitimate, but notice that after you do this, the sum over n is the outer sum and the sum over a is the inner sum. However, at some point in the calculation, you can see the different order of summation, where the sum over a became the outer sum.
If I understand Ivan's approach correctly, it involves replacingLog in to reply
Using a computer program, it can be verified that for 50000≤N≤100000 we have
0.616343<n=0∑N2n+1(−1)nτ(2n+1)<0.617383.
This suggests that it converges, but is not definitive proof.
The sum does not converge absolutely, which means clever rearrangements could change convergence. Also, the magnitude of the terms is not strictly decreasing, so the alternating series test cannot be applied.
Log in to reply
Hello Jimmy, my friend said that the answer rebound at 16π2 which almost same as yours. But I wonder how to solve this problem mathematically, without using algorithm. Any idea?
Log in to reply
When an infinite sum converges to something involving π2, the solution often (not always) involves the fact that n=1∑∞n21=6π2. I'm not sure how to relate that to this problem.
The blog post inspired by this question is now live
Log in to reply
Wow cool. Nice post!
On a related note, are there any theorems out there relating divisors to the magnitude of numbers, kind of like how x/ln(x) relates the number of primes? I think that would be a useful information to have to go solve this problem.
Log in to reply
Michael, is this what you are looking for?
Another solution, though it is not very different from the ones provided in the fantastic discussion in this note:
A=n≥0∑2n+1(−1)n(2d+1)∣2n+1∑1=d≥0∑n:2d+1∣2n+1∑2n+1(−1)n=d≥0∑l≥0∑(2d+1)(2l+1)(−1)((2d+1)(2l+1)−1)/2=d≥0∑l≥0∑(2d+1)(2l+1)(−1)d+l=(d≥0∑2d+1(−1)d)2=(arctan(1))2=(4π)2 which gives the answer as 16π2.
I think it converges... For example, fixing 2n+1=3k
n=0∑∞2n+1(−1)nτ(2n+1)=k=0∑∞3k(−1)kτ(3k)=k=0∑∞3k(−1)k(k+1)→0
It works for every power of prime, but it needs to be generalised of course...
Log in to reply
The value of the sum you computed does not appear to be correct. Consider the power series 1−x1=k=0∑∞xk,∣x∣<1. Then taking derivatives of both sides, we obtain (1−x)21=k=1∑∞kxk−1=k=0∑∞(k+1)xk, with the same radius of convergence. Then with the choice x=−1/3 we obtain k=0∑∞3k(−1)k(k+1)=(1+1/3)21=169>0. Therefore, we cannot infer from your analysis that the original sum ∑n=0∞2n+1(−1)nτ(2n+1) is convergent--in fact, your analysis suggests that the answer could be the opposite.
Log in to reply
Yes, checking only for certain value x doesn't mean we can determine whether the sum converges or diverges.
Using the same logic, one could incorrectly conclude that n=0∑∞2n+11 converges.
i think that is divergen which use GF and taylor series
Log in to reply
Would you mind to show your solution, Kak Uzu? (Soal Adhel loh hehe ^^)