Let and two given integers. Ana thinks of a pair of real numbers , and then she tells Beto the values of and , in this order. Beto's goal is to determine the value of using that information. Find all values of and for which it is possible for Beto to fulfill his wish, whatever numbers that Ana had chosen.
Problem 1592
Official solution
1. Identify the problem and the goal:
- We are given two integers and .
- Ana provides Beto with the values of and .
- Beto's goal is to determine from this information.
- We need to find all pairs for which Beto can always determine .
2. **Case 1: Both and are even:**
- Consider and .
- For both pairs, and will be the same because and are even.
- However, will be different: for and for .
- Therefore, Beto cannot determine uniquely if both and are even.
3. **Case 2: Both and are odd:**
- Consider and .
- For both pairs, and will be different because and are odd.
- Therefore, Beto can determine uniquely if both and are odd.
4. **Case 3: One of or is even:**
- Without loss of generality, let be even.
- We need to show that must divide for Beto to determine uniquely.
- Suppose does not divide . We will show the existence of pairs and such that and , but .
5. **Constructing the function :**
- Consider the function .
- If does not divide , this function has an extremum at .
- Therefore, there exist such that .
- Let . Then, and satisfy the conditions.
6. **Conclusion for and :**
- Therefore, and for and .
- If , we can use the same argument: extremum at . So, .
7. Verification:
- To prove that such work, consider for some .
- The function (replace with in ) has the property that .
- This implies a fixed value of . So, we are done.
The final answer is for and .