express 1^2 * 3^2 * 5^2 * .... * (p-2)^2 (mod p) as a power of -1 .

suppose p is an odd prime.

Printable View

- June 1st 2008, 06:35 PMpengchao1024calculate this by wilson's Theorem
express 1^2 * 3^2 * 5^2 * .... * (p-2)^2 (mod p) as a power of -1 .

suppose p is an odd prime. - June 1st 2008, 06:54 PMPaulRS
Note that:

; ;... ;

Thus:

But by Wilson's Theorem

Thus: