Lucas 定理

质数 p 有

推论:

  • 为奇数当且仅当

Wilson 定理