Please suggest me how to compute the GCD of theese really big numbers :
- GCD of 2120547564397−1 and 2356946681940−1
- GCD of 2n−1 and n! where n=319
Thanks to Bill Dubuque's answer I understood that the first problem could be solved by the property that gcd(f(m),f(n))=f(gcd(m,n)) if f(n)≡f(n−m)(mod f(m)), f(0) = 0.
Any hints for the second one?
No comments:
Post a Comment