Maths Olympiad Prep

Library / /6 of 9

, 2025

Number theory Difficulty 8.8 Shortlist Prove it China

Given integer sequences {xn}n1\{x_n\}_{n \ge 1}, {yn}n1\{y_n\}_{n \ge 1}. Prove that there exists an integer sequence {zn}n1\{z_n\}_{n \ge 1} such that for any positive integer nn,
knkzkn/k=(knkxkn/k)(knkykn/k). \sum_{k|n} k z_k^{n/k} = \left( \sum_{k|n} k x_k^{n/k} \right) \cdot \left( \sum_{k|n} k y_k^{n/k} \right).
Here all three sums are taken over all positive divisors kk of nn. For example, when n=6n = 6:
6z6+3z32+2z23+z16=(6x6+3x32+2x23+x16)(6y6+3y32+2y23+y16). 6z_6 + 3z_3^2 + 2z_2^3 + z_1^6 = (6x_6 + 3x_3^2 + 2x_2^3 + x_1^6) \cdot (6y_6 + 3y_3^2 + 2y_2^3 + y_1^6).

Solution

Proof 1: By induction, znz_n can be uniquely determined from the equation
nzn=(knkxkn/k)(knkykn/k)knk<nkzkn/k.(3) nz_n = \left( \sum_{k|n} k x_k^{n/k} \right) \cdot \left( \sum_{k|n} k y_k^{n/k} \right) - \sum_{\substack{k|n \\ k<n}} k z_k^{n/k}. \qquad (3)
We only need to prove that the right-hand side is divisible by nn. To this end, it suffices to show that for any prime factor pp of nn, if prnp^r \nmid n (rN+r \in \mathbb{N}_+), then prp^r divides the right-hand side of (3).
Working modulo prp^r, we first remove terms in (3) whose coefficients are already multiples of prp^r:
nzn(knprkkxkn/k)(knprkkykn/k)knprkkzkn/k=(knpkxkn/k)(knpkykn/k)knpkzkn/k(mod pr).(4) \begin{aligned} nz_n &\equiv \left( \sum_{\substack{k|n \\ p^r \nmid k}} k x_k^{n/k} \right) \cdot \left( \sum_{\substack{k|n \\ p^r \nmid k}} k y_k^{n/k} \right) - \sum_{\substack{k|n \\ p^r \nmid k}} k z_k^{n/k} \\ &= \left( \sum_{k|\frac{n}{p}} k x_k^{n/k} \right) \cdot \left( \sum_{k|\frac{n}{p}} k y_k^{n/k} \right) - \sum_{k|\frac{n}{p}} k z_k^{n/k} \quad (\text{mod } p^r). \end{aligned} \qquad (4)
We first prove a simple lemma: For any integer aa and positive integer tt, aptapt1(modpt)a^{pt} \equiv a^{pt-1} \pmod{p^t}.
Indeed, if pap \nmid a, then since pt1tp^{t-1} \ge t, both apta^{pt} and apt1a^{pt-1} are divisible by ptp^t. If pap \nmid a, then ap11a^{p-1} - 1 is divisible by pp, and by the lifting-the-exponent lemma, a(p1)pt11(modpt)a^{(p-1)p^{t-1}} \equiv 1 \pmod{p^t}, so aptapt1(modpt)a^{pt} \equiv a^{pt-1} \pmod{p^t}.
Returning to the problem, we now show that for any knpk \mid \frac{n}{p} and any integer aa, kan/kkan/pk(modpr)ka^{n/k} \equiv ka^{n/pk} \pmod{p^r}. Indeed, let s=vp(k)<rs = v_p(k) < r. It suffices to prove an/kan/pk(modprs)a^{n/k} \equiv a^{n/pk} \pmod{p^{r-s}}. By the lemma, aprsaprs1(modprs)a^{p^{r-s}} \equiv a^{p^{r-s-1}} \pmod{p^{r-s}}. Raising this congruence to the n/prsn/p^{r-s}-th power yields the result.
Thus, nznnz_n satisfies
nzn(knpkxkn/pk)(knpkykn/pk)knpkzkn/pk=0(modpr). nz_n \equiv \left( \sum_{k|\frac{n}{p}} k x_k^{n/pk} \right) \cdot \left( \sum_{k|\frac{n}{p}} k y_k^{n/pk} \right) - \sum_{k|\frac{n}{p}} k z_k^{n/pk} = 0 \pmod{p^r}.
---

Proof 2: For any positive integer LL, define the polynomial
gL(t)=dLtdμ(Ld), g_L(t) = \sum_{d|L} t^d \mu\left(\frac{L}{d}\right),
where μ()\mu(\cdot) is the Möbius function. We now show that for any integer tt, gL(t)g_L(t) is always divisible by LL. Without loss of generality, assume tt is a positive integer. Note that the number of distinct circular arrangements of length LL with exactly LL as the minimal period (rotations considered identical) using tt colors is precisely 1LgL(t)\frac{1}{L}g_L(t). Thus, gL(t)g_L(t) is divisible by LL.
For any positive integer mm, define
Am=LmLgmL(xL),Bm=LmLgmL(yL). A_m = \sum_{L|m} L g_{\frac{m}{L}}(x_L), \quad B_m = \sum_{L|m} L g_{\frac{m}{L}}(y_L).
By the above discussion, AmA_m is divisible by mm. By Möbius inversion,
mnAm=LmnLgmL(xL)=LmnLdmLxLdμ(mdL)=dLnLxLdmdLndLμ(mdL)=dLnLxLd1ndL=1=dL=nLxLd=knkxkn/k. \begin{align*} \sum_{m|n} A_m &= \sum_{L|m|n} L g_{\frac{m}{L}}(x_L) = \sum_{L|m|n} L \sum_{d|\frac{m}{L}} x_L^d \mu\left(\frac{m}{dL}\right) = \sum_{dL|n} L x_L^d \cdot \sum_{\substack{\frac{m}{dL} \\ \frac{n}{dL}}} \mu\left(\frac{m}{dL}\right) \\ &= \sum_{dL|n} L x_L^d \cdot \mathbf{1}_{\frac{n}{dL}=1} = \sum_{dL=n} L x_L^d = \sum_{k|n} k x_k^{n/k}. \end{align*}
We need to find a sequence of positive integers {Cn}\{C_n\} such that for all positive integers nn,
mnCm=(mnAm)(mnBm). \sum_{m|n} C_m = \left( \sum_{m|n} A_m \right) \left( \sum_{m|n} B_m \right).
In fact, we can take Cn==nAuBvC_n = \sum_{=n} A_u B_v, i.e., the sum over all pairs (u,v)(u,v) with least common multiple =n = n. Since AuBvA_u B_v is divisible by both uvuv and nn, it follows that CnC_n is divisible by nn.
Finally, for n=1,2,3,n = 1, 2, 3, \dots, we sequentially define
zn=1n[CnLn,L<nLgnL(zL)] z_n = \frac{1}{n} \left[ C_n - \sum_{L|n, L<n} L g_{\frac{n}{L}}(z_L) \right]
to satisfy the requirement.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.