Skip to main content
OlympiadHQ

Browse · MathNet

Print

China National Team Selection Test

China algebra

Problem

The sequence is defined by , , , . Let be an odd prime number. Let be a prime number such that . Prove that if , then .
Solution
It is easy to see Let be positive integers and . Then so , and ,

Suppose . Since , thus , so there exists a term in which is divisible by . Let be the least number such that . We have the following lemma.

Lemma For any positive integer , if and only if .

Proof: For , denote as and .

If , write , then so .

On the other hand, if , write , . Suppose , from we have But , and ; so . Since is a prime, therefore , and . From (1) we have , it contradicts the definition of . So , and the lemma is proven.

Now, as is a prime, so , .

Using Fermat's little theorem, we have As , so , we get By the same argument, we have So Thus, We know that .

Since , from the lemma, we have . So , and if , then , contradiction! So , hence . So , thus or . Since and are even, so .

Techniques

Recurrence relationsFermat / Euler / Wilson theoremsQuadratic residuesPell's equations