You are on page 1of 1

1 Fermats two square theorem

Theorem 1 (Fermats two square theorem). Suppose p 1 mod 4, then


a, b Z s.t.
p = a
2
+ b
2
Lemma 1. Wilsons Theorem Suppose p is prime. Then
(p 1)! 1 mod p
Proof of Theorem 1. Trivial.
1

You might also like