Rv: Web GMP
Torbjorn Granlund
tg at swox.com
Tue Sep 16 00:32:52 CEST 2008
rodolfo merino <rmr45472 at yahoo.es> writes:
Estimated friends:
46137349^22 = odd
(2*46137349)^22 = couple
(2*46137349+1)^22 = odd
Then:
46137349^22+(2*46137349)^22-(2*46137349+1)^22 = couple
But:
40659123321199772708143646506718445599631847521703980877262444624237620050622933969300652398693881381
39094813695689518101749257496187234787043775391310211936538046425801 =
odd
Yes, that is an odd number, just like 17 ad 4711. So what? Your
expression does *not* give that result using the GMP demo.
The result must be couple and negative.
We all agree with that (assuming couple = even), just as GMP does.
--
Torbjörn
More information about the gmp-discuss
mailing list