Let $M$ and $N$ be two palindrome numbers, each having $9$ digits and the palindromes don't start with $0$. If $N>M$ and between $N$ and $M$ there aren't any palindromes, find all values of $N-M$.
Source: First Saudi Arabia JBMO TST 2018, P2
Tags: number theory
Let $M$ and $N$ be two palindrome numbers, each having $9$ digits and the palindromes don't start with $0$. If $N>M$ and between $N$ and $M$ there aren't any palindromes, find all values of $N-M$.