← RoseCode

ROSECODE 279

威尔逊商

Wilson quotient

Philippe_57721 · 编程 ·

给定一个质数 p,我们将威尔逊商定义为:
Wp=(p1)!+1p
其余数对 p 取模为:
wp=Wp modulo p in the interval p2wp<p2

找到w200000039
[我的时间:45 秒]