Representations by a Sum of Squares

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.

Lagrange proved that every positive integer can be written as the sum of four or fewer squares. Click a number to display the number of ordered positive sum of squares representations and the total number of representations. Equivalent distinct representations are listed as tooltips by the disk under that number. Numbers having square representations are marked in individual black and white views. The colored view combines these special views to indicate similarities between numbers.

Contributed by: Michael Schreiber (March 2011)
Open content licensed under CC BY-NC-SA




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.