設p爲質數,下面證明【當p≥5,且p爲素數,一定有24|p^2-1】。 注意到,所有滿足條件的p均爲奇數,不妨設它爲2n+1。 於是, p^2-1=(2n+1)^2-1=4n^2+4n=4n(n+1) 顯然,對於所有奇素數p,一定滿足4|
#include<iostream> #include<stack> #define N 3 #define M 3 using namespace std; struct STEP //保存座標點 { int x;