For each let be the sum of all numbers in the set {1,2,3,…,n} which are relatively prime to .
a. Show that is not aperfect square for any .
b. Given positive integers with odd n, show that the equation has at least one solution among positive integers such that .
Problem 1561
Official solution
### Part (a)
1. Base Case:
For , the set contains only one number which is relatively prime to 1. Therefore, . Hence,
Since 2 is not a perfect square, the statement holds for .
2. General Case:
For , consider the set . If is relatively prime to , then is also relatively prime to . Therefore, the sum of all numbers in the set that are relatively prime to can be paired as .
3. Sum Calculation:
The sum of each pair is . If there are such pairs, where is Euler's totient function, then:
4. Prime Factor Analysis:
Let be the largest prime that divides with exponent . The exponent of in is , which is odd. Since a perfect square must have even exponents for all prime factors, cannot be a perfect square.
5. Conclusion:
Therefore, is not a perfect square for any .
### Part (b)
1. Given:
We need to show that for given positive integers and with odd, the equation has at least one solution among positive integers such that .
2. **Case :**
Let (since is odd). Take . Then:
The numbers relatively prime to are the odd numbers from 1 to . The sum of the first odd numbers is . Therefore:
Since for , we have .
3. **General :**
For any , we can use a similar approach by considering as a multiple of and adjusting the powers accordingly. The key idea is to ensure that is chosen such that forms a perfect -th power.
4. Conclusion:
Therefore, the equation has at least one solution among positive integers such that .