To paraphase my textbook:
Use that $1001 = 7 \cdot 11 \cdot 13$ to prove that if $a= a_n a_{n-1}\dots a_1 a_0$ in base $10$, then, respectively, $7$ or $11$ or $13$ divides $a$ if and only if it divides $a_2 a_1 a_0- a_5 a_4 a_3 +a_8 a_7 a_6- \cdots $.
I'm on the chapter of my textbook in which modular congruences are introduced.