Problem

Source: VII International Festival of Young Mathematicians Sozopol 2016, Theme for 10-12 grade

Tags: algebra, number theory, Sequence



$a$ and $b$ are fixed real numbers. With $x_n$ we denote the sum of the digits of $an+b$ in the decimal number system. Prove that the sequence $x_n$ contains an infinite constant subsequence.