Olympiad Maths Prep

Track / Stage 7 / 173 of 300 #1573 of 2000

Problem 1573

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.3 Prove it

Example 4 (1) Prove: For any positive integer nn, there exist nn consecutive positive integers, none of which is a power number; \square
(2) Prove that there exist infinitely many distinct positive integers, such that neither they nor the sum of any distinct subset of them is a power number.
(Power number is defined as in Example 9 of Unit 5.)

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Proof (1) We prove that there exist nn consecutive positive integers, each of which has at least one prime factor that appears exactly once in its prime factorization, making the number not a power.

Since there are infinitely many primes, we can take nn distinct primes p1,,pnp_{1}, \cdots, p_{n}. Consider the system of congruences
xi+pi(modpi2),i=1,2,,nx \equiv -i + p_{i} \left(\bmod p_{i}^{2}\right), \quad i=1,2, \cdots, n

Since p12,p22,,pn2p_{1}^{2}, p_{2}^{2}, \cdots, p_{n}^{2} are pairwise coprime, by the Chinese Remainder Theorem, the above system of congruences has a positive integer solution xx. For 1in1 \leqslant i \leqslant n, since x+ipi(modpi2)x + i \equiv p_{i} \left(\bmod p_{i}^{2}\right), it follows that pi(x+i)p_{i} \mid (x + i); but by (1), pi2(x+i)p_{i}^{2} \nmid (x + i), meaning pip_{i} appears exactly once in the prime factorization of x+ix + i, hence x+1,x+2,,x+nx + 1, x + 2, \cdots, x + n are not powers.

(2) We construct inductively an infinite sequence of positive integers a1,a2,,an,a_{1}, a_{2}, \cdots, a_{n}, \cdots, all of which are not powers, such that for each nn, the sum of any subset of a1,,ana_{1}, \cdots, a_{n} is not a power, thereby proving the conclusion in (2).

First, a1a_{1} can be any non-power number, for example, take a1=2a_{1} = 2. Suppose a1,,ana_{1}, \cdots, a_{n} have been determined, we prove that we can choose an+1a_{n+1} to be a non-power number, an+1>ana_{n+1} > a_{n}, and an+1a_{n+1} plus any subset of a1,,ana_{1}, \cdots, a_{n} is not a power.

Let s1,,sms_{1}, \cdots, s_{m} be all the distinct sums of any subset of a1,,ana_{1}, \cdots, a_{n}, where m=2n1m = 2^{n} - 1. Since there are infinitely many primes, we can take m+1m + 1 distinct primes p,p1,,pmp, p_{1}, \cdots, p_{m}, and consider the system of congruences
xp(modp2),xsi+pi(modpi2),i=1,,mx \equiv p \left(\bmod p^{2}\right), \quad x \equiv -s_{i} + p_{i} \left(\bmod p_{i}^{2}\right), \quad i=1, \cdots, m

Since p2,p12,,pm2p^{2}, p_{1}^{2}, \cdots, p_{m}^{2} are pairwise coprime, the system of congruences (2) has infinitely many positive integer solutions xx. Take any solution greater than ana_{n}, and denote it as an+1a_{n+1}. Then an+1p(modp2)a_{n+1} \equiv p \left(\bmod p^{2}\right) implies that an+1a_{n+1} is divisible by pp but not by p2p^{2}, hence an+1a_{n+1} is not a power. Also, an+1si+pi(modpi2)a_{n+1} \equiv -s_{i} + p_{i} \left(\bmod p_{i}^{2}\right) implies that an+1+sia_{n+1} + s_{i} is divisible by pip_{i} but not by pi2p_{i}^{2}, thus for each i=1,,mi = 1, \cdots, m, the number an+1+sia_{n+1} + s_{i} is not a power. This recursively constructs an infinite sequence a1,a2,a_{1}, a_{2}, \cdots that meets the aforementioned requirements. Q.E.D.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.