DR.WANG Mathematics中文

2012 USAMO · Question 3

Number theory · sequences

Problem outline

Determine all integers n>1n>1 for which there exists an infinite sequence of nonzero integers a1,a2,…a_1,a_2,\ldots satisfying ak+2a2k+⋯+nank=0a_k+2a_{2k}+\cdots+n a_{nk}=0 for every positive integer kk.

Show answer and methods 1 methods

Answer

Exactly all integers n≥3n\ge3.

Method 1 Construct a completely multiplicative sequence

When n=2n=2, the relation gives ak=−2a2ka_k=-2a_{2k}. Iterating from k=1k=1 yields a1=(−2)ra2ra_1=(-2)^r a_{2^r} for every rr, so the nonzero integer a1a_1 would be divisible by arbitrarily large powers of 22. This is impossible.

For n≥3n\ge3, it is enough to construct a completely multiplicative nonzero integer sequence, since then ajk=ajaka_{jk}=a_j a_k and ak+2a2k+⋯+nank=ak(1a1+2a2+⋯+nan)a_k+2a_{2k}+\cdots+n a_{nk}=a_k(1a_1+2a_2+\cdots+n a_n). Thus we only need to prescribe nonzero integer values on primes so that ∑j=1njaj=0\sum_{j=1}^n j a_j=0.

For n=3,4,5,6,7n=3,4,5,6,7, respectively, use am=(−1)v3(m)a_m=(-1)^{v_3(m)}; am=(−1)v2(m)+v3(m)a_m=(-1)^{v_2(m)+v_3(m)}; am=(−2)v5(m)a_m=(-2)^{v_5(m)}; am=5v2(m)3v3(m)(−42)v5(m)a_m=5^{v_2(m)}3^{v_3(m)}(-42)^{v_5(m)}; and am=(−3)v7(m)a_m=(-3)^{v_7(m)}. Direct substitution gives the required weighted sum zero in each case. For n=8n=8, set a5=a7=−2a_5=a_7=-2 and every other prime value to 11. For n=9n=9, set a5=6a_5=6, a7=−9a_7=-9, and every other prime value to 11. These give ∑j=1njaj=0\sum_{j=1}^n j a_j=0.

For n≥10n\ge10, put h=⌊n/2⌋h=\lfloor n/2\rfloor. Bertrand's postulate gives a prime qq with h<q<2hh<q<2h. Since q≥7q\ge7, applying the postulate again to (q−1)/2(q-1)/2 gives a prime pp with (q−1)/2<p<q−1(q-1)/2<p<q-1; in particular p≥5p\ge5. Hence 2q>n2q>n, 4p>n4p>n, p2>np^2>n, and p,qp,q are distinct odd primes. Give every prime other than p,qp,q the value 11. The terms affected up to nn are qq and either just pp, or p,2pp,2p, or p,2p,3pp,2p,3p. Their total coefficients are qq and w∈{p,3p,6p}w\in\{p,3p,6p\}. Since gcd⁡(w,q)=1\gcd(w,q)=1, Bézout's identity gives integer values ap,aqa_p,a_q solving wap+qaq=w+q−n(n+1)/2w a_p+q a_q=w+q-n(n+1)/2; the general solution has infinitely many choices, so values with ap=0a_p=0 or aq=0a_q=0 can be avoided. All prime values are therefore nonzero, and the resulting completely multiplicative sequence has the required weighted sum zero.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)