Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 4 5D c Solution Created 2026-09-24 Updated 2026-10-05
Split the factorial at , using :By Wilson theorem, this is . Therefore . If the prime number is odd, then is even, so andFor , the signs and are identical modulo , and the two possibilities also give the same result. The empty product convention includes the endpoint cases. This is the complementary factorial congruence.