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

- Jun 1st 2008, 05: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. - Jun 1st 2008, 05:54 PMPaulRS
Note that:

; ;... ;

Thus:

But by Wilson's Theorem

Thus: