* is divisible by ,
* is not divisible by .
Prove that has a prime factor *smaller* than .
Problem 1821
Official solutions — 2
Solution 1
Let be a positive integer. Call a positive integer *good* for if .
Define to be the smallest positive integer such that . Then holds for is periodic with period . The minimality of implies that it is in fact the smallest period. Therefore . So is *good* for as well.
Assume . If , then the sequence for does not contain any residues relatively prime to . Else the sequence doesn't contain the residue . In any case the sequence cannot contain all distinct elements, so .
Lemma A1. If is *good* for , then the numbers for form a complete residue system modulo .
*Proof.* We will prove this by induction on . Base case is true since there's only one number. Consider for the induction step. Assume for the sake of contradiction that there exist distinct such that . Let . Then , and is *good* for as well. So . Note that, since is *good* for , reducing modulo does not change the values of and . Therefore, by induction hypothesis, .
But then . Contradiction! Hence the numbers are pairwise distinct modulo , and so form a complete residue system.
Lemma A2. If is *good* for , then so is for every .
*Proof.* .
We return to the main problem. Clearly we must have . Assume for the sake of contradiction that all the prime factors of are . We will prove using induction on that
is divisible by for any *good* and , which will give us the desired contradiction. For the base case, . By Lemma A1,
Assume that the hypothesis holds for all for some . Then by Lemma A1,
By Lemma A2 and induction hypothesis, all the sums of the form
for are divisible by . Hence we get
But , and are not primes. So all prime factors of are which implies . Therefore
which completes the induction.
Solution 2
We begin by observing that proving the following claim is sufficient:
Claim B1. Let be any prime . Now, let be an integer such that . Then for any integer , if then for any ,
Observe that if the above claim follows then, we have that if does not have any prime factors and then since the divisibility follows for all prime factors of from Claim 1. Thus, if satisfies the problem conditions then it must have a prime factor i.e. some prime factor since and are not primes.
Thus, we just prove Claim B1!
*Proof of Claim B1.*
Lemma B1. If then .
Lemma B2. If and then
We delay the proof of Lemma B1 and Lemma B2 to the end of the proof. Now, assuming above lemmas, observe that we can prove Claim B1 by induction on : We begin by proving the base case :
The last part follows since when , by Lemma B2,
Now, for the induction step :
The last step follows since inductively we have . Thus, we are done with the proof of Claim B1!
Now, we just prove Lemma B1 and B2.
*Proof of Lemma B2.* Let be any number from such that . This exists since can only have roots (mod ).
Then,
Alternately, lemma B2 is often proved by letting be a primitive root (mod ), then
This follows since and by Fermat's little theorem. (Another alternative is to consider the complete residue systems and and compare the sum of powers)
*Proof of Lemma B1.*
Lemma B3. If then then .
*Proof.* This follows since, if we let be the lowest number such that then, we if then but . Thus, and . Similarly, . Now, so .
In particular, this means that if then , so since .
Applying this to our problem, if and then we have that so .
And now if, then we have that
Now, observe that
Also, if , then . Thus, . Thus, if , then . If , then . Thus, . Thus,
So, we get that as desired!