Pell's equation: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: aligned some statements.) |
m (added whitespace.) |
||
Line 3: | Line 3: | ||
'''Pell's equation''' (also called the '''Pell–Fermat''' equation) is a [https://en.wikipedia.org/wiki/Diophantine_equation <u>Diophantine equation</u>] of the form: |
'''Pell's equation''' (also called the '''Pell–Fermat''' equation) is a [https://en.wikipedia.org/wiki/Diophantine_equation <u>Diophantine equation</u>] of the form: |
||
:::::: <big> <b> x<sup>2</sup> - ny<sup>2</sup> = 1 </b> </big> |
:::::: <big> <b> x<sup>2</sup> - ny<sup>2</sup> = 1 </b> </big> |
||
with integer solutions for '''x''' and '''y''', where '''n''' is a given non-square positive integer. |
with integer solutions for '''x''' and '''y''', where '''n''' is a given non-square positive integer. |