注意到质数除了 2 都是奇数,故 f(p)=p−1+2[p=2]。
于是有 G0,0(n)=−n+1,G0,1=(n+2)(n−1)2。
然后对 2 讨论一下即可。
代码:
1 |
|
注意到质数除了 2 都是奇数,故 f(p)=p−1+2[p=2]。
于是有 G0,0(n)=−n+1,G0,1=(n+2)(n−1)2。
然后对 2 讨论一下即可。
代码:
1 | #include <cstdio> |
Related Issues not found
Please contact @Alpha1022 to initialize the comment