numtheory[thue] - solve a Thue equation or inequality
|
Calling Sequence
|
|
thue(ex, vars, k, w)
thue(ex, vars, k)
thue(ex, vars, w)
thue(ex, vars)
|
|
Parameters
|
|
ex
|
-
|
Thue equation or Thue inequality
|
vars
|
-
|
list of two names, [x, y]
|
k
|
-
|
(optional) positive integer
|
w
|
-
|
(optional) unevaluated variable
|
|
|
|
|
Description
|
|
•
|
This function computes all solutions in of the given Thue equation or inequality ex, subject to the constraint . If k is omitted, it defaults to 10.
|
•
|
In the equation case, if there are no solutions with the above constraint and the last argument to thue is an unevaluated name (i.e., w is given), then to it will be assigned an expression sequence consisting of a diagnostic message and the integers m' in the range such that the given Thue equation has a solution when m is replaced by m'.
|
•
|
In the inequality case, if the last argument to thue is an unevaluated name (i.e., w is given), then w is assigned the set of values obtained by substituting the various solutions to the inequality into the left hand side of the given Thue inequality.
|
•
|
Note that in the inequality case, ex must be given in the form and not simply .
|
•
|
This function is part of the numtheory package, and so can be used in the form thue(..) only after performing the command with(numtheory). The function can always be accessed in the long form numtheory[thue](..).
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
>
|
|
| (12) |
>
|
|
| (13) |
Note that the binary forms must be irreducible:
>
|
|
|
|
Download Help Document
Was this information helpful?