![]() |
![]() |
#1 |
Aug 2004
Melbourne, Australia
23·19 Posts |
![]()
For those of you who don't know, Knuth's GCD Lemma states that
gcd(2^a-1,2^b-1)=2^gcd(a,b)-1 for natural numbers a,b. I'm curious of why Knuth's name is attached to this lemma, and why it's not just called "GCD lemma" or somesuch. It's mentioned on Will Edgington's webpage, however I don't see any reason for it's name there. |
![]() |
![]() |
![]() |
#2 | |
Jun 2005
2·72 Posts |
![]() Quote:
2^29-1 = 233 x 1103 x 2089 2^37-1 = 233 x 616318177 GCD(2^29-1,2^37-1)=233 GCD(29,37)=1 Either case B of Knuth Lemma (webpage ) is incorrect or my understanding of GCD incorrect? |
|
![]() |
![]() |
![]() |
#3 |
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
![]()
2^37-1 = 223 x 616318177
Alex |
![]() |
![]() |
![]() |
#4 |
Aug 2004
Melbourne, Australia
9816 Posts |
![]()
Whoops. Hehe.
![]() Assume p<q and that s divides 2^p-1 and 2^q-1. Then 2^p = 2^q = 1 (mod s). Which implies that the multiplicative order of 2 modulo s divides p and q, and so they're not both primes. |
![]() |
![]() |
![]() |
#5 | |
Jun 2005
2·72 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#6 |
Jan 2014
468 Posts |
![]()
*I hope it's okay bumping this.
The lemma isn't true just for Mersenne numbers: Any integer In Graham, Knuth and Patashnik's book "Concrete Mathematics", an even more general version is given as an exercise: i.imgur.com/ROd1fXX.png I too am curious regarding the source of the said attribution (I've never heard about it outside of the given webpage). Last fiddled with by Qubit on 2014-04-08 at 20:52 Reason: img BB code doesn't work =/ |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Knuth-Schroeppel analysis | akruppa | Factoring | 8 | 2010-01-08 17:01 |
Write to Donald Knuth! | cheesehead | Lounge | 20 | 2009-08-17 03:19 |