On Sat, Dec 08, 2012 at 05:46:00PM +0000, Robert Dodier wrote: > Hello, is there a way to solve Diophantine equations in Sage? If not a > general method, perhaps at least some special cases. > > There is some interest in solving such equations in Maxima -- I am > daydreaming about porting whatever implementation Sage has. Is there a > generally-accepted more-or-less best method these days? (Whether it is > implemented in Sage or not.) > > There is this web page, http://www.alpertron.com.ar/METHODS.HTM, which > describes a method, and this one, http://www.alpertron.com.ar/JQUAD.HTM, > which has a calculator. Would anyone care to comment on the suitability > of either one as the basis for an implementation? Pointers to any other > resources would be interesting. > > best > > Robert Dodier >
pari/gp which is included in sage can solve the special case of Thue equations. In pari console: th=thueinit(x^5-2,1);\\x^5-2*y^5, ",1" is for unconditional result t=thue(th,65)\\x^5-2*y^5=65 %7 = [[1, -2]] If you want to work from sage the above example is: sage: AA.<x>=QQ[] sage: th=gp.thueinit(x^5-2,1) sage: gp.thue(th,65) [[1, -2]] -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en.
