[sage-support] Re: problem with GCD in notebook

2009-03-03 Thread Jonathan Bober
I'm not sure why you are getting different results from sagenb.com and from the shell, but I would guess that you must be using two different versions of Sage. Either way... The problem is that when you divide two integers, the result is always a rational number, whether or not that rational

[sage-support] Re: problem with GCD in notebook

2009-03-03 Thread Martin Mereb
I'm not sure why you are getting different results from sagenb.com and I typed it wrong. It's in sagenb.org (are they the same?) that I'm even sure why this should make sense), you get back a list of rational numbers. For rational numbers, Sage decides to always return a GCD of 1: yes,