Skip to main content
OlympiadHQ

Browse · MathNet

Print

Japan Mathematical Olympiad

Japan number theory

Problem

Find all the factors of , which satisfy .
Solution
1, 3, 9, 27, 37, 67 Let us use the following notations in the subsequent argument to obtain the solution to this problem: For a pair of positive integers , denote by the greatest common divisor of and . For integers and , we write to mean that is a multiple of . We also quote, without proof, the following well-known facts: When holds for positive integers , the following statement holds for a positive integer : If is a prime, and an integer is not a multiple of , then holds (Fermat's Little Theorem). Starting the search for the positive factors of less than or equal to 100, let us first determine the prime numbers less than 100, which are factors of . From what we stated above it follows that we have where . Then, we see that is a factor of and must satisfy . Therefore, we conclude that must be satisfied. Let us go through the search for case by case depending on the possible value of . (1) When : in this case, we see that is the only prime which satisfies , and it satisfies as well. (2) When : in this case, we have . So, are the only primes satisfying . Of these two primes, 37 is the only one satisfying . (3) When : in this case, are the only primes less than 100 satisfying the condition . For each of these two primes , let us check whether it satisfies the condition . Let , then since we have from which it follows that Therefore, is not satisfied. If , then from it follows that Therefore, is not satisfied. Consequently, there are no prime factors less than 100 for for the case . (4) When : in this case, we see that 67 is the only prime less than 100 satisfying the condition . Let us check whether . By repeating to take squares, we get and by multiplying further by 10, we obtain . Thus, we get is the prime factor of corresponding to the case . (5) When : in this case, we see that there is no prime less than 100 satisfying the condition . Thus we conclude that only prime factors of less than 100 are 3, 37, 67, and since any positive factor of less than or equal to 100 cannot have any other prime factors, we see that only possible positive factors of must come from 1, 3, 9, 27, 37, 67, 81. We already checked that 3, 37, 67 all divide and 1 is obviously a factor. So, it is enough to check whether any of 9, 27, 81 divides . Since we have and we get . From this we conclude that both 9 and 27 are factors of , while 81 is not, and we get 1, 3, 9, 27, 37, 67 for the answer to the problem.
Final answer
1, 3, 9, 27, 37, 67

Techniques

Multiplicative orderFermat / Euler / Wilson theoremsGreatest common divisors (gcd)Factorization techniques