[ww-bugs] Bug 3543: a correct (num,den) answer is rejected
bugzilla-daemon at webwork.maa.org
bugzilla-daemon at webwork.maa.org
Thu Dec 3 22:55:43 EST 2015
http://bugs.webwork.maa.org/show_bug.cgi?id=3543
Paul Pearson <paultpearson at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Paul Pearson <paultpearson at gmail.com> 2015-12-03 22:55:43 ---
Just to be on the safe side, I used
do { $d = random(2,8,2); } until ((gcd($b,$d) == 1) && (gcd($a * $d + $b, $d)
== 1));
Also, I did use "further" correctly to refer to a metaphorical distance. :)
Have a good night!
Paul
--
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the webwork-bugs
mailing list