In
elementary number theory, a centered square number is a
centered figurate number that gives the number of dots in a
square
In Euclidean geometry, a square is a regular quadrilateral, which means that it has four equal sides and four equal angles (90-degree angles, π/2 radian angles, or right angles). It can also be defined as a rectangle with two equal-length a ...
with a dot in the center and all other dots surrounding the center dot in successive square layers. That is, each centered square number equals the number of dots within a given
city block distance of the center dot on a regular
square lattice. While centered square numbers, like
figurate numbers in general, have few if any direct practical applications, they are sometimes studied in
recreational mathematics for their elegant geometric and arithmetic properties.
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
Floyd's triangle is a triangular array of natural numbers used in computer science education. It is named after Robert Floyd. It is defined by filling the rows of the triangle with consecutive numbers, starting with a 1 in the top left corner:
T ...
, 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 ''C''
''k'',''n'' generally represent the ''n''th
centered ''k''-gonal number. The ''n''th centered square number is given by the formula:
:
That is, the ''n''th centered square number is the sum of the ''n''th and the (''n'' – 1)th
square number
In mathematics, a square number or perfect square is an integer that is the square of an integer; in other words, it is the product of some integer with itself. For example, 9 is a square number, since it equals and can be written as .
The u ...
s. The following pattern demonstrates this formula:
:
The formula can also be expressed as:
:
That is, the ''n''th centered square number is half of the ''n''th odd square number plus 1, as illustrated below:
:
Like all
centered polygonal numbers, centered square numbers can also be expressed in terms of
triangular number
A triangular number or triangle number counts objects arranged in an equilateral triangle. Triangular numbers are a type of figurate number, other examples being square numbers and cube numbers. The th triangular number is the number of dots i ...
s:
:
where
:
is the ''n''th 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 number
A centered (or centred) triangular number is a centered figurate number that represents an equilateral triangle with a dot in the center and all its other dots surrounding the center in successive equilateral triangular layers.
The followin ...
s:
:
where
:
List of centered square numbers
The first centered square numbers (''C''
4,''n'' < 4500) are:
:
1,
5,
13,
25,
41,
61,
85,
113,
145,
181
Year 181 ( CLXXXI) was a common year starting on Sunday (link will display the full calendar) of the Julian calendar. At the time, it was known as the Year of the Consulship of Aurelius and Burrus (or, less frequently, year 934 ''Ab urbe condit ...
,
221
__NOTOC__
Year 221 ( CCXXI) was a common year starting on Monday (link will display the full calendar) of the Julian calendar. At the time, it was known as the Year of the Consulship of Gratus and Vitellius (or, less frequently, year 974 ''Ab ...
, 265,
313
__NOTOC__
Year 313 ( CCCXIII) was a common year starting on Thursday (link will display the full calendar) of the Julian calendar. At the time, it was known as the Year of the Consulship of Constantinus and Licinianus (or, less frequently, yea ...
,
365
365 may refer to:
* 365 (number), an integer
* a common year, consisting of 365 calendar days
* AD 365, a year of the Julian calendar
* 365 BC, a year of the 4th century BC
Media outlets
* 365 (media corporation), Icelandic TV company
* 365 Med ...
, 421, 481, 545, 613, 685, 761, 841, 925, 1013, 1105, 1201, 1301, 1405, 1513, 1625, 1741, 1861, 1985, 2113, 2245, 2381, 2521, 2665, 2813, 2965, 3121, 3281, 3445, 3613, 3785, 3961, 4141, 4325, … .
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
In geometry, a hypotenuse is the longest side of a right-angled triangle, the side opposite the right angle. The length of the hypotenuse can be found using the Pythagorean theorem, which states that the square of the length of the hypotenuse eq ...
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: 5
2 + 12
2 = 13
2.)
This is not to be confused with the relationship (''n'' – 1)
2 + ''n''
2 = ''C''
4,''n''. (Example: 2
2 + 3
2 = 13.)
Generating function
The generating function that gives the centered square numbers is:
:
References
*.
*.
*.
*.
{{Classes of natural numbers
Figurate numbers
Quadrilaterals