Problem

Source: Romania TST 1994

Tags: modular arithmetic, number theory proposed, number theory



Let $ n$ be an odd positive integer. Prove that $((n-1)^n+1)^2$ divides $ n(n-1)^{(n-1)^n+1}+n$.