alpertron logo

Dario Alpern's site Home Page
Ver sitio en castellano

 ELECTRONICS >> Intel Microprocessors (Spanish only)
 MATHEMATICS >> Calculators | Number Theory | Problems
 PROGRAMS >> Assembler 80386 (downloads) | Java | Games
 CONTACT >> Personal | Comments | Guestbook | Links | Donations

Sum of squares

Get the source code!
You will also need the expression analyzer source code

Number of digits in a group

This applet finds the decomposition of any positive number greater than 1 into up to four squares.

Notice that it does not find the prime factorization of the number entered by the user, so some cases where two squares would be enough will be represented as a sum of three squares. For example, 10000998089 = 953172 + 302602.

If you find any error or you have a comment, please fill in the form.

You can also enter expressions that use the following operators and parentheses:

See the methods used in this applet here.