Following on this question, what is the Greatest Common Denominator of $c^a + 1$ and $c^b + 1$, where $a, b, c \in N$. I know that for odd a and b, we have $\gcd(c^a + 1, c^b + 1) = c^{\gcd(a, b)} + 1$ Thanks, Aleks Vlasev
I also found that for a odd and b even (or vice versa), the result is 1 or 0 depending on odd or even c.
The last case remains: For both $a$ and $b$ even: How can $gcd(c^a +1, c^b+1)$ be simplified such that it can be computed more quickly?
I tried to adapt this answer to my case but got nowhere*. Or maybe I should be using Fermat's little theorem?
Edit:
I did use the last linked answer to simplify this. Let a > b, $(c^b + 1, c^a + 1) = (c^b + 1, -c^{a-b} + 1)$.