Forum: gophne
2018-01-07, 09:24
|
Replies: 272
Views: 36,553
I don't think you've taken on board what axn...
I don't think you've taken on board what axn meant by this:
The point is that, if n is odd, then gcd(n, n+2N) = gcd(n, N) and so you are just checking if n has any common factors with N. But...
|
Forum: gophne
2018-01-06, 10:39
|
Replies: 272
Views: 36,553
|
Forum: gophne
2018-01-05, 23:17
|
Replies: 272
Views: 36,553
Gophne, as actual proofs don't seem to have...
Gophne, as actual proofs don't seem to have persuaded you, let's have a look at an example to see that the two tests are the same. I'm going to avoid modular arithmetic as much as possible because it...
|
Forum: gophne
2017-12-31, 19:25
|
Replies: 272
Views: 36,553
|