Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

prove it like this

Posted by achilles at 2005-08-08 19:51:37 on Problem 2539
In Reply To:Re:我想看看你证明的逻辑,感觉不是写出那条式子就完事的 Posted by:achilles at 2005-08-08 18:26:35
>  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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator