Sum of Two Squares

Description:Given a positive integer n, it can be possible to find two non-negative integers x and y such that n = x^2 + y^2. This program uses iterations to find all possible pairs which fit n = x^2 + y^2. Some integers do not have representations, others have more than one. The program will show all possible combinations.
Author:Eddie W. Shore:
Downloaded file size:33,582 bytes
Size on calculator:2 KB
User rating:Not yet rated (you must be logged in to vote)
Primary category:Math
File date:2019-08-20 20:29:12
Creation date:2019-08-17
Source code:Included
Download count:380
Version history:2019-08-29: Added to site
Archive contents:
  Length      Date    Time    Name
---------  ---------- -----   ----
     1700  2019-08-20 20:22   BEZOUT.hpprgm
    39806  2019-08-17 14:11   example1.jpg
     1858  2019-08-17 14:12   SUM2SQ.hpprgm
    11052  2019-08-20 20:27   sum2sq.html
    11274  2019-08-17 14:11   titlecard.jpg
---------                     -------
    65690                     5 files
User comments:

No comments at this time.

You must be logged in to add your own comment.

Part of the HP Calculator Archive,
Copyright 1997-2024 Eric Rechlin.