Problem

Source: China TST 2006 (1)

Tags: number theory, China TST, Hi



Find all positive integer pairs $(a,n)$ such that $\frac{(a+1)^n-a^n}{n}$ is an integer.