111111 squared is 12345654321, a pyramid that climbs and comes back

Squaring a row of ones writes the digits up to the middle and back down; the pattern holds until a carry breaks it.

Arithmetic and functions · Level: Classic result · Updated on 2026-11-10

1111² is 1234321 and 111111² is 12345654321: the digits climb to the middle and return. The screen prints these in scientific notation — 1.2345654321⋅10+10 for the six-digit row — because the value needs eleven places, and the twelve-digit mantissa is exactly long enough to show the whole pyramid. Multiply 111111111 by itself and the peak is 9; the next one, ten ones, would have to peak at 10, and a single column cannot hold that, so a carry spoils the symmetry.

The reason is visible in the long multiplication: the k-th column of 111…1 × 111…1 contains min(k, 2n − k) ones, so the column sums go 1, 2, 3, …, n, …, 3, 2, 1 and the digits of the square are those sums — as long as none of them reaches the base. In base twelve the same row of ones can be longer before it breaks, which is the usual demonstration that this pyramid is a property of the notation and not of the numbers. The related square 12345678987654321 = 111111111² is the one people memorise.

Answer

1.2345654321⋅10+10

How to read it

111111² on the workbench, written 1.2345654321⋅10+10. The second and third links are the five-digit and four-digit rows.

Source

The squares of the repunits 1, 11, 111, … are the palindromes 1, 121, 12321, …; the pattern is a direct read-off of the grade-school multiplication array and holds while the number of digits stays at most nine in base ten

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.