Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:我想看看你证明的逻辑,感觉不是写出那条式子就完事的In Reply To:我想看看你证明的逻辑,感觉不是写出那条式子就完事的 Posted by:frkstyc at 2005-08-08 16:39:03 gcd(a^m - 1, a^n - 1) (m > n) if m = p*n + r then a^m - 1 = a^(p*n+r) - a^r + a^r - 1 = a^r(a^(p*n)-1) + (a^r-1) since (a^n-1) | (a^(p*n)-1) gcd(a^m - 1, a^n - 1) = gcd(a^r - 1, a^n-1) so gcd(a^m - 1, a^n - 1) = a^gcd(m,n) - 1 so ...... Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator