15 lines
701 B
Text
15 lines
701 B
Text
'''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>
|
||
|
||
with integer solutions for '''x''' and '''y''', where '''n''' is a given non-square positive integer.
|
||
|
||
|
||
;Task requirements:
|
||
:* find the smallest solution in positive integers to Pell's equation for '''n''' = {61, 109, 181, 277}.
|
||
|
||
|
||
;See also:
|
||
:* Wikipedia entry: [https://en.wikipedia.org/wiki/Pell%27s_equation <u>Pell's equation</u>].
|
||
<br><br>
|
||
|