Skip to main content
OlympiadHQ

Browse · MathNet

Print

Japan Mathematical Olympiad

Japan number theory

Problem

Determine the number of pairs of a prime number and an integer such that , , and the following condition is satisfied: holds and is a square number.
Solution
When the condition is satisfied, there exists a non-negative integer such that and then holds. If we assume that both and are divisible by , then , leading to , which contradicts the assumption that is an odd prime. Therefore, at least one of is not divisible by . Since the left hand side of () is divisible by , one of is divisible by . In the case is divisible by , there exists a positive integer such that . By substituting this into (), we obtain , hence . If , we have which contradicts . If , then . In this case, by we get and then . Therefore, the number of pairs satisfying the condition is equal to the number of odd prime such that , and there exist three such primes . In the case is divisible by , there exists a non-negative integer such that . By substituting this to (*), we obtain , hence . If , then we have which contradicts . If , then we have . In this case, by we get and then . Therefore, the number of pairs satisfying the condition is equal to the number of odd prime such that , and there exist 13 such primes . We have proved that the total number of pairs satisfying the condition is .
Final answer
16

Techniques

Factorization techniquesTechniques: modulo, size analysis, order analysis, inequalitiesPolynomial operations