Ok, I've done a lot of searching and looking around but I cannot find anything that I can make sense of. The Pell equation I want to solve is this:(adsbygoogle = window.adsbygoogle || []).push({});

[tex] x^2 - Dy^2 = 1 [/tex]

Given an integral value for D that is not a square number, find the minimal values of x and y where x and y are both integers.

I've seen stuff about using continued fractions or finding values for x and y once given the minimal values of x and y but I can't make head nor tale of it all. The Mathworld page on Pell equations gives a lot of information but most of it is irrelevant. Near the bottom they show a table of the results I want to acheive but they don't mention how those values in the table were found. Any ideas?

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to solve Pell's equation

Loading...

Similar Threads for solve Pell's equation | Date |
---|---|

I Solving System of Equations w/ Gauss-Jordan Elimination | Sep 18, 2017 |

I Solving a system of linear equations using back substitution | Aug 30, 2017 |

I Matrix Equation -- clarification about solving a system | Aug 1, 2017 |

Pells equation for D prime and =n*n-3 | Jul 18, 2012 |

**Physics Forums - The Fusion of Science and Community**