Problem 53955. Determine Fundamental Solution of Pell Equation

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

33.33% Correct | 66.67% Incorrect
Last Solution submitted on Aug 31, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers2

Suggested Problems

More from this Author54

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!