Centered square number
![]() | This article includes a improve this article by introducing more precise citations. (January 2016) ) |
In
The figures for the first four centered square numbers are shown below:
Each centered square number is the sum of successive squares. Example: as shown in the following figure of Floyd's triangle, 25 is a centered square number, and is the sum of the square 16 (yellow rhombus formed by shearing a square) and of the next smaller square, 9 (sum of two blue triangles):

Relationships with other figurate numbers
Let Ck,n generally represent the nth centered k-gonal number. The nth centered square number is given by the formula:
That is, the nth centered square number is the sum of the nth and the (n – 1)th square numbers. The following pattern demonstrates this formula:
The formula can also be expressed as:
That is, the nth centered square number is half of the nth odd square number plus 1, as illustrated below:
Like all centered polygonal numbers, centered square numbers can also be expressed in terms of triangular numbers:
where
is the nth triangular number. This can be easily seen by removing the center dot and dividing the rest of the figure into four triangles, as below:
The difference between two consecutive octahedral numbers is a centered square number (Conway and Guy, p.50).
Another way the centered square numbers can be expressed is:
where
Yet another way the centered square numbers can be expressed is in terms of the centered triangular numbers:
where
List of centered square numbers
The first centered square numbers (C4,n < 4500) are:
- ).
Properties
All centered square numbers are odd, and in base 10 one can notice the one's digit follows the pattern 1-5-3-5-1.
All centered square numbers and their divisors have a remainder of 1 when divided by 4. Hence all centered square numbers and their divisors end with digit 1 or 5 in base 6, 8, and 12.
Every centered square number except 1 is the hypotenuse of a Pythagorean triple (3-4-5, 5-12-13, 7-24-25, ...). This is exactly the sequence of Pythagorean triples where the two longest sides differ by 1. (Example: 52 + 122 = 132.) This is a consequence of (2n − 1)2 + (2n2 − 2n)2 = (2n2 − 2n + 1)2.
Generating function
The generating function that gives the centered square numbers is:
References
- Alfred, U. (1962), "n and n + 1 consecutive integers with equal sums of squares", Mathematics Magazine, 35 (3): 155–164, MR 1571197.
- Zbl 0335.10001.
- Beiler, A. H. (1964), Recreations in the Theory of Numbers, New York: Dover, p. 125.
- MR 1411676.