Let $a\geq 3$ and $b\geq 3$ be odd integers. Let $x\geq 2$ be an integer. I would like to know if we can state that $x^a+1|x^b+1 \Longleftrightarrow a|b$. I know how to prove that $a|b$ implies $x^a+1|x^b+1$. Is the other implication also true? I'm especially interested in the case when $x$ is a prime number, but I don't think that this additional assumption matters so much. I've checked the result for particular primes $x$ and it seems that it holds. Still, I would like to know how to prove it or, if it isn't true, which would be a counterexample?
There is a similar result which states: $x^a-1|x^b-1 \Longleftrightarrow a|b$. By following the proof for this similar result, I've tried to apply the same argument (the quotient remainder theorem) to show the implication above, but I did not manage to finish the proof. Any hints are appreciated.