Given, a positive value (d), determine the fundamental solution [x, y] of the Pell equation: x^2 - d*y^2 = 1.
Provide character arrays of the outputs (x and y).
For example:
d=5;
[x,y]=pell(d)
x =
'9'
y =
'4'

Solution Stats

8 Solutions

2 Solvers

Last Solution submitted on May 11, 2024

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...