Statement

Wilson’s theorem states that if pp is prime then (p1)!1(modp)(p-1)!\equiv -1\pmod p. Use it to find the remainder of 10!10! upon division by 1111.