Complementary factorial congruence

ID: complementary-factorial-congruence

For a prime number and nonnegative integers , Wilson theorem gives by replacing the last factors of with . For odd , have the same parity; for , both signs have the same residue class. Thus , including the endpoint cases .

New to topics? Read the docs here!