Show that for any $a \in \mathbb{Z}, 42 \mid (a^{7} − a)$.
I saw this question on Rosen textbook and it doesn't have answer key so I am wondering can you guide me how to do it?
What I have tried is that since I don't know the number a so I substitute a number for a.
(1) If $a$ is multiple of $7$ then $a^7-a$ is a multiple of $7$; if $\gcd(a, 7)=1$ then by FLT $a^6\equiv1\pmod{7}$ hence $a^7-a=a(a^6-1)$ is a multiple of 7.
(2) If $a$ is multiple of $3$ then $a^7-a$ is a multiple of $3$; if $\gcd(a, 3)=1$ then by FLT $a^2\equiv1\pmod{3}$ hence $a^7-a=a(a^2-1)(a^4+a^2+1)$ is a multiple of 3.
(3) If $a$ is multiple of $2$ then $a^7-a$ is a multiple of $2$; if $\gcd(a, 2)=1$ then by FLT $a\equiv1\pmod{2}$ hence $a^7-a=a(a-1)(a+1)(a^4+a^2+1)$ is a multiple of 2.