Equation of the Form px2+y2=n

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Let , , , , , , be seven arbitrary integers such that the first equation in the Details does not equal zero.


Set and as given in the second and third equations in the Details.

Then the second-degree Diophantine equation of the following form follows:


For example,



Contributed by: Minh Trinh Xuan (August 25)
Open content licensed under CC BY-NC-SA


First equation

Second equation

Third equation


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.