Pell's equation: Difference between revisions
Content added Content deleted
Line 931: | Line 931: | ||
</pre> |
</pre> |
||
=={{header|Mathematica}} |
=={{header|Mathematica}}/{{header|Wolfram Language}}== |
||
<lang Mathematica>FindInstance[x^2 - 61 y^2 == 1, {x, y}, PositiveIntegers] |
<lang Mathematica>FindInstance[x^2 - 61 y^2 == 1, {x, y}, PositiveIntegers] |
||
FindInstance[x^2 - 109 y^2 == 1, {x, y}, PositiveIntegers] |
FindInstance[x^2 - 109 y^2 == 1, {x, y}, PositiveIntegers] |