Sum of Three Triangular Numbers

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.

Triangular numbers are integers of the form ; they are 0, 1, 3, 6, 10, 15, 21, 28, …. As a teenager, in 1796, Gauss proved that every positive integer can be written as the sum of three or fewer triangular numbers.

Contributed by: Ed Pegg Jr (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.