1. The problem statement, all variables and given/known data Find the remainder when 34! is divided by 37. 2. Relevant equations Wilson's Theorem 3. The attempt at a solution I understand that (p-1)! = (-1)(mod p) and that (p-2)! = (1)(mod p). I don't understand how to apply this to (p-3)! though.