Ask Your Question
1

Thue-Mahler equation

asked 2021-06-15 20:42:36 +0100

Joao Fede gravatar image

Let $F \in \mathbb{Z}[X,Y]$ be an homogenous polynomial. An equation of the form $$ F(X,Y) = d p_1^{a_1}\cdots p_n^{a_n},$$ with $p_1, \cdots, p_n$ are prime numbers and $d \in \mathbb{Z}$ is called a Thue-Mahler equation. Is there an explicit function in sage that can solve this kind of equations even if is a simpler case such as F(x,y) = p^a ?. I have been looking for this with no result.

edit retag flag offensive close merge delete

Comments

1

It seems not. There is Magma code in the master's thesis Implementation of a Thue-Mahler equation solver by Kyle Hambrook.

rburing gravatar imagerburing ( 2021-06-15 21:29:41 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-06-21 20:19:41 +0100

Max Alekseyev gravatar image

updated 2024-04-16 22:47:46 +0100

One can rely on the Thue equation solver present in PARI. Here is a sample code for solving the equation $f(x,y)=n$:

def solvethue(f,n):
    assert f.is_homogeneous()
    return gp.thue(f.subs({f.variables()[1]:1}), n).sage()

R.<x,y> = PolynomialRing(QQ)
print( solvethue(x^3+y^3,1) )
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2021-06-15 20:42:36 +0100

Seen: 509 times

Last updated: Apr 16