Browse · MathNet
PrintJapan Mathematical Olympiad
Japan number theory
Problem
Find all positive integers such that is an integer and is not. Here, denotes the number of integers in coprime to , and denotes the number of positive divisors of .
Solution
Let denote the product of real numbers . For any positive integer , let denote the maximum nonnegative integer such that divides .
does not meet the assumption since is an integer. In the following we assume . If distinct prime numbers and positive integers satisfy , then .
When is even, the assumption that is an integer implies that is odd, thus . On the other hand, satisfies the assumptions since and .
In the following we assume is odd and . The assumption that is an integer implies that and are coprime, thus is square-free. Then with distinct odd primes , thus . Now we need the following lemma.
Lemma. For any odd integer and any positive integer , there holds .
Proof. Suppose with a nonnegative integer and a positive odd integer . Then . Since , . Also, for any since is odd, thus we obtain . Hence .
The condition that is not an integer is equivalent to . The above lemma implies that . Since is an integer, for any there holds , thus . Let be the minimum positive integer such that . If a positive integer satisfies , then divides ; this is because when denotes the remainder of modulo , then , which implies by the minimality of . Now divides since . On the other hand does not divide since . Hence we obtain .
By the Fermat's little theorem , thus divides . Hence . On the other hand, by we obtain . Therefore . Then we obtain .
When we obtain and , thus is not an integer, which contradicts the assumption. When , the condition implies that and . Since and are both multiples of , implies . Thus . Hence (mod 16), which contradicts . Thus there does not exist an odd integer which satisfies the required conditions.
Hence the answer is .
does not meet the assumption since is an integer. In the following we assume . If distinct prime numbers and positive integers satisfy , then .
When is even, the assumption that is an integer implies that is odd, thus . On the other hand, satisfies the assumptions since and .
In the following we assume is odd and . The assumption that is an integer implies that and are coprime, thus is square-free. Then with distinct odd primes , thus . Now we need the following lemma.
Lemma. For any odd integer and any positive integer , there holds .
Proof. Suppose with a nonnegative integer and a positive odd integer . Then . Since , . Also, for any since is odd, thus we obtain . Hence .
The condition that is not an integer is equivalent to . The above lemma implies that . Since is an integer, for any there holds , thus . Let be the minimum positive integer such that . If a positive integer satisfies , then divides ; this is because when denotes the remainder of modulo , then , which implies by the minimality of . Now divides since . On the other hand does not divide since . Hence we obtain .
By the Fermat's little theorem , thus divides . Hence . On the other hand, by we obtain . Therefore . Then we obtain .
When we obtain and , thus is not an integer, which contradicts the assumption. When , the condition implies that and . Since and are both multiples of , implies . Thus . Hence (mod 16), which contradicts . Thus there does not exist an odd integer which satisfies the required conditions.
Hence the answer is .
Final answer
n = 2
Techniques
φ (Euler's totient)τ (number of divisors)Fermat / Euler / Wilson theoremsMultiplicative orderGreatest common divisors (gcd)