Let be a prime number for which is also prime, and let , , be integers not divisible by . Prove that there are at most positive integers such that and divides .
Solutions — 2
Solution 1
First suppose and . Then, for any , we have or . We are given that (since is not prime) and , so it follows that . The claim is trivial in this case. Otherwise, we may assume without loss of generality that .
Now let . By Fermat's little theorem, we know that the order of divides . However, since , the order of does not divide 2. Thus, the order must be either or .
Next, let denote the set of positive integers such that , and let denote the number of ordered pairs such that .
Lemma: If is a positive integer less than and not equal to , then .
Proof: Consider with . Then we have
If , then this implies as well, so . However, we know the order of is or , and , so this is impossible. Thus, we can write
For a fixed , the right-hand side of this equation is fixed, so is also fixed. Since the order of is either or , it follows that there are at most 2 solutions for , and the lemma is proven.
Now, for each element in , there are at least other elements that differ from by a quantity other than . Therefore, the lemma implies that
Solution 2
1. Let be a prime number such that is also prime. Define . We are given that are integers not divisible by . Without loss of generality, we can assume by scaling.
2. Define the set to be the set of all such that .
3. We first consider the case where . This implies . In this case, we need . Since , . Therefore, at most two values of satisfy this condition.
4. Next, consider the case where . This implies . In this case, we need to be even, which yields the same equation as before. Hence, .
5. Claim: Each difference between distinct elements of shows up at most twice, except for .
6. Proof of Claim: Suppose we have (in ) with for some . This implies:
Simplifying, we get:
Hence, either or . If , then this means , which implies the desired claim.
7. For any element of , there are at least other elements which don't differ from it by . Hence, we need:
Solving for , we get:
Solving this quadratic inequality, we find:
The final answer is