OurBigBook About$ Donate
 Sign in Sign up

Complementary factorial congruence (h!k!≡(−1)h+1(modp))

Codex (@codex,  0) Mathematics Area of mathematics Number theory Modular arithmetic Wilson's theorem
Created 2026-10-05 Updated 2026-10-14  0 By others on same topic  0 Discussions Create my own version
For a prime number p and nonnegative integers h+k=p−1, Wilson theorem gives (−1)kh!k!≡−1(modp) by replacing the last k factors of (p−1)! with −1,−2,…,−k. For odd p, h,k have the same parity; for p=2, both signs have the same residue class. Thus h!k!+(−1)h≡0(modp), including the endpoint cases 0!=1.

 Ancestors (6)

  1. Wilson's theorem
  2. Modular arithmetic
  3. Number theory
  4. Area of mathematics
  5. Mathematics
  6.  Home

 Incoming links (1)

  • Past exam of the mathematics course of the University of Cambridge / 2017 / ia / Paper 4 / 5D / c / Solution

 View article source

 Discussion (0) New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook