durt
- 149
- 0
Let a be a positive integer. Find all positive integers n such that b = a^n satisfies the condition that a^2 + b^2 is divisible by ab + 1.
Obviously if a=1 then all n work. Otherwise, we have a^2 + b^2 = a^2 (1+a^{2(n-1)}). Also, a^2 and a^{n+1} + 1 are relatively prime, so we need to find all n such that a^{n+1} + 1 divides 1+a^{2(n-1)}. Clearly n=3 works, but now I'm stuck. What do I do now?
Obviously if a=1 then all n work. Otherwise, we have a^2 + b^2 = a^2 (1+a^{2(n-1)}). Also, a^2 and a^{n+1} + 1 are relatively prime, so we need to find all n such that a^{n+1} + 1 divides 1+a^{2(n-1)}. Clearly n=3 works, but now I'm stuck. What do I do now?