MathLabs

Problem 6

Let n≥2n\ge2 be an integer, and consider a circle with n+1n+1 equally spaced points marked on it. Consider all labellings of these points with the numbers 0,1,…,n0,1,\ldots,n such that each label is used exactly once; two such labellings are considered the same if one can be obtained from the other by a rotation of the circle. A labelling is called beautiful if, for any four labels a<b<c<da<b<c<d with a+d=b+ca+d=b+c, the chord joining the points labelled aa and dd does not intersect the chord joining the points labelled bb and cc. Let MM be the number of beautiful labellings, and let NN be the number of ordered pairs (x,y)(x,y) of positive integers such that x+y≤nx+y\le n and gcd⁡(x,y)=1\gcd(x,y)=1. Prove that M=N+1M=N+1.
Step 5 of 5: Telescope the recurrence
In plain words

The totient recurrence counts exactly the coprime ordered pairs grouped by their sum.

Mn=1+∑s=2nφ(s)=N+1M_n=1+\sum_{s=2}^{n}\varphi(s)=N+1
Detailed analysis

For n=2n=2, M2=2M_2=2. Summing Ms=Ms−1+φ(s)M_s=M_{s-1}+\varphi(s) for s=3,…,ns=3,\ldots,n gives Mn=1+∑s=2nφ(s)M_n=1+\sum_{s=2}^n\varphi(s). For each ss, the ordered positive pairs (x,y)(x,y) with x+y=sx+y=s and gcd⁡(x,y)=1\gcd(x,y)=1 are counted by φ(s)\varphi(s), so N=∑s=2nφ(s)N=\sum_{s=2}^n\varphi(s). Therefore M=N+1M=N+1.