Problem

Source:

Tags: Mexico, number theory



We say a non-negative integer $n$ "contains" another non-negative integer $m$, if the digits of its decimal expansion appear consecutively in the decimal expansion of $n$. For example, $2016$ contains $2$, $0$, $1$, $6$, $20$, $16$, $201$, and $2016$. Find the largest integer $n$ that does not contain a multiple of $7$.