Problem

Source: Brazilian Mathematical Olympiad 2018 - Q5

Tags: number theory, Sequence, multiple, Brazilian Math Olympiad, Brazilian Math Olympiad 2018



Consider the sequence in which $a_1 = 1$ and $a_n$ is obtained by juxtaposing the decimal representation of $n$ at the end of the decimal representation of $a_{n-1}$. That is, $a_1 = 1$, $a_2 = 12$, $a_3 = 123$, $\dots$ , $a_9 = 123456789$, $a_{10} = 12345678910$ and so on. Prove that infinitely many numbers of this sequence are multiples of $7$.