Question 9
Number theory BDMO 2020 National
If is a positive integer, then is the fraction in its lowest terms. What is the sum of all different possible values of ?
Here 'lowest terms' means the common factors have been cancelled out, so that the gcd of the numerator and denominator is 1.