Jeremy Ting edited p7.tex  about 10 years ago

Commit id: c1e375a99096f9060531b0372d7675df93b29c64

deletions | additions      

       

Clearly, $n$ can divide $(n-1)!$, so it always be $0\ \textrm{mod}\ n$ instead of $-1\ \textrm{mod}\ n$    Example:     $8! \equiv x\ \textrm{mod}\ 9$     For some a, $3*6*a = 8!$. It will always yield 0 modulo n.   \end{itemize}