Problem

Source: IMOC 2017 N4

Tags: number theory, p-adic



Find all integers $n$ such that $n^{n-1}-1$ is square-free.