Let $n=\frac{2^{2018}-1}{3}$. Prove that $n$ divides $2^n-2$.
Problem
Source: Mathematics Regional Olympiad of Mexico Southeast 2018 P2
Tags: number theory, Divisibility
Source: Mathematics Regional Olympiad of Mexico Southeast 2018 P2
Tags: number theory, Divisibility
Let $n=\frac{2^{2018}-1}{3}$. Prove that $n$ divides $2^n-2$.