Browse · MathNet
PrintJapan Mathematical Olympiad
Japan number theory
Problem
For every positive integer , let be the smallest positive integer such that is prime to and is prime to . How many different integers will appear in ?
Solution
11
First, we prove for a positive integer and the smallest prime that does not divide . For any integer with , has a prime factor with . Since must divide from the definition of , cannot be prime to , thus . On the other hand, every prime factor of must divide , again from the definition of , thus it cannot divide . Hence is prime to and is prime to , which yields .
Let denote the -th smallest prime and let . is a strictly increasing sequence with . From the above statement, if then there exists such that (note that and cannot be divided by at least one of ). On the other hand, and for , since is divided by and not by . Hence, consists of 11 integers, .
First, we prove for a positive integer and the smallest prime that does not divide . For any integer with , has a prime factor with . Since must divide from the definition of , cannot be prime to , thus . On the other hand, every prime factor of must divide , again from the definition of , thus it cannot divide . Hence is prime to and is prime to , which yields .
Let denote the -th smallest prime and let . is a strictly increasing sequence with . From the above statement, if then there exists such that (note that and cannot be divided by at least one of ). On the other hand, and for , since is divided by and not by . Hence, consists of 11 integers, .
Final answer
11
Techniques
Prime numbersGreatest common divisors (gcd)