1
$\begingroup$

Prove $(n -1) = (n-1)^{n}$ mod n

How would one go about doing this?

  • 1
    @willie, I have now done so, thanks.2011-04-07

1 Answers 1

7

But this is just

$-1 = (-1)^n \mod n$

which is true if and only if $n$ is odd or $n = 2$.