[Math] Common factors for all palindromes

elementary-number-theorypalindrome

For example a palindrome of length $4$ is always divisible by $11$ because palindromes of length $4$ are in the form of:
$$\overline{abba}$$
so it is equal to $$1001a+110b$$
and $1001$ and $110$ are divisible by 11

Is there a common factor for all palindromes of any length? if not how do you find the common factor of palindromes of a certain length?

Best Answer

As a counterexample for odd length, $121$ and $131$ are relatively prime. More generally,

$$1...121...1$$ and $$1...131...1$$ will always be relatively prime, since their difference will be of the form $2^k 3^j$ for some $k$ and $j$.