1² + 2² + … + 10² = 385, the cannonball formula

The stack of square layers, its closed form, and the one case where the pile is also a square.

Statistics and data · Level: Exam and contest · Updated on 2026-11-10

The sum of the first ten squares is 385, and the closed form n(n + 1)(2n + 1)/6 gives 10·11·21/6 = 385 on the same screen. Feeding the ten squares into the statistics calculator reaches the same total through Σx, which is a useful cross-check: the formula and the data agree digit for digit.

This is the shape of a stacked pile of cannonballs — a square layer on a square layer — and the arithmetic question 'when is the pile's count itself a perfect square?' is the cannonball problem. Apart from 1, the only answer is 4900: the squares from 1² to 24² sum to 4900, which is 70², and nothing else does. Watson settled it in 1918, after Lucas had guessed it in 1875.

Answer

385

How to read it

10·11·21/6, the ten-square total. The statistics calculator's Σx line for the ten squares reaches the same 385.

Source

Σk² = n(n + 1)(2n + 1)/6; Édouard Lucas posed the cannonball problem in 1875 and G. N. Watson proved in 1918 that 4900 = 70² is the only non-trivial solution

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.