(12C) Pell's Equation

07072018, 05:16 AM
(This post was last modified: 07072018 05:21 AM by Gamo.)
Post: #1




(12C) Pell's Equation
Pell's equation (also called the Pellâ€“Fermat equation) is the equation of the form of
X^2  nY^2 = 1 Where n is a given positive none square integer and integer solutions are sought for X and Y. More information about this topic: https://en.wikipedia.org/wiki/Pell%27s_equation I personally make a note on this subject found on this MoHPC old forum and don't remember who posted this in the forum. I found this very interesting and would like to share his clever program to solve this special equation. Example: X^2  (3)Y^2 = 1 3 R/S > 2 X<>Y 1 Answer: X=2, Y=1 Remark: The list of the possible n is shown in the Wikipedia link. Program: Pell's Equation Code:
Gamo 

« Next Oldest  Next Newest »

Messages In This Thread 
(12C) Pell's Equation  Gamo  07072018 05:16 AM
RE: (12C) Pell's Equation  Thomas Klemm  07072018, 09:29 AM
RE: (12C) Pell's Equation  Dieter  07072018, 11:24 AM
RE: (12C) Pell's Equation  Gamo  07082018, 10:51 AM
RE: (12C) Pell's Equation  SlideRule  07112018, 02:49 PM

User(s) browsing this thread: 1 Guest(s)