Centered square number

Last updated

In elementary number theory, a centered square number is a centered figurate number that gives the number of dots in a square 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.

Contents

The figures for the first four centered square numbers are shown below:

GrayDot.svg      GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg
     GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg
     GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg
            

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):

Centered square numbers (in red) are in the center of odd rows of Floyd's triangle. Centered square numbers vs triangular numbers.svg
Centered square numbers (in red) are in the center of odd rows of Floyd's triangle.

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:

GrayDot.svg      RedDot.svg
RedDot.svg GrayDot.svg RedDot.svg
RedDot.svg
     GrayDot.svg
GrayDot.svg RedDot.svg GrayDot.svg
GrayDot.svg RedDot.svg GrayDot.svg RedDot.svg GrayDot.svg
GrayDot.svg RedDot.svg GrayDot.svg
GrayDot.svg
     RedDot.svg
RedDot.svg GrayDot.svg RedDot.svg
RedDot.svg GrayDot.svg RedDot.svg GrayDot.svg RedDot.svg
RedDot.svg GrayDot.svg RedDot.svg GrayDot.svg RedDot.svg GrayDot.svg RedDot.svg
RedDot.svg GrayDot.svg RedDot.svg GrayDot.svg RedDot.svg
RedDot.svg GrayDot.svg RedDot.svg
RedDot.svg
            

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:

GrayDot.svg      GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg MissingDot.svg
MissingDot.svg MissingDot.svg MissingDot.svg
     GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg MissingDot.svg MissingDot.svg
MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg
MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg
     GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg GrayDot.svg MissingDot.svg MissingDot.svg MissingDot.svg
MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg
MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg
MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg MissingDot.svg
            

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:

BlackDot.svg      RedDot.svg
GrayDot.svg BlackDot.svg GrayDot.svg
RedDot.svg
     RedDot.svg
RedDot.svg RedDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg BlackDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg RedDot.svg RedDot.svg
RedDot.svg
     RedDot.svg
RedDot.svg RedDot.svg GrayDot.svg
RedDot.svg RedDot.svg RedDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg GrayDot.svg BlackDot.svg GrayDot.svg GrayDot.svg GrayDot.svg
GrayDot.svg GrayDot.svg RedDot.svg RedDot.svg RedDot.svg
GrayDot.svg RedDot.svg RedDot.svg
RedDot.svg
            

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:

1, 5, 13, 25, 41, 61, 85, 113, 145, 181, 221, 265, 313, 365, 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, … (sequence A001844 in the OEIS ).

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 not to be confused with the relationship (n – 1)2 + n2 = C4,n. (Example: 22 + 32 = 13.)

Generating function

The generating function that gives the centered square numbers is:

Related Research Articles

<span class="mw-page-title-main">Pythagorean triple</span> Integer side lengths of a right triangle

A Pythagorean triple consists of three positive integers a, b, and c, such that a2 + b2 = c2. Such a triple is commonly written (a, b, c), and a well-known example is (3, 4, 5). If (a, b, c) is a Pythagorean triple, then so is (ka, kb, kc) for any positive integer k. A primitive Pythagorean triple is one in which a, b and c are coprime. For example, (3, 4, 5) is a primitive Pythagorean triple whereas (6, 8, 10) is not. A triangle whose sides form a Pythagorean triple is called a Pythagorean triangle, and is necessarily a right triangle.

<span class="mw-page-title-main">Triangular number</span> Figurate 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 nth triangular number is the number of dots in the triangular arrangement with n dots on each side, and is equal to the sum of the n natural numbers from 1 to n. The sequence of triangular numbers, starting with the 0th triangular number, is

<span class="mw-page-title-main">Square number</span> Product of an integer with itself

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 32 and can be written as 3 × 3.

In mathematics, a polygonal number is a number represented as dots or pebbles arranged in the shape of a regular polygon. The dots are thought of as alphas (units). These are one type of 2-dimensional figurate numbers.

The term figurate number is used by different writers for members of different sets of numbers, generalizing from triangular numbers to different shapes and different dimensions. The term can mean

<span class="mw-page-title-main">Hexagonal number</span> Type of figurate number

A hexagonal number is a figurate number. The nth hexagonal number hn is the number of distinct dots in a pattern of dots consisting of the outlines of regular hexagons with sides up to n dots, when the hexagons are overlaid so that they share one vertex.

In mathematics and combinatorics, a centered hexagonal number, or hex number, is a centered figurate number that represents a hexagon with a dot in the center and all other dots surrounding the center dot in a hexagonal lattice. The following figures illustrate this arrangement for the first four centered hexagonal numbers:

<span class="mw-page-title-main">Pentagonal number</span>

A pentagonal number is a figurate number that extends the concept of triangular and square numbers to the pentagon, but, unlike the first two, the patterns involved in the construction of pentagonal numbers are not rotationally symmetrical. The nth pentagonal number pn is the number of distinct dots in a pattern of dots consisting of the outlines of regular pentagons with sides up to n dots, when the pentagons are overlaid so that they share one vertex. For instance, the third one is formed from outlines comprising 1, 5 and 10 dots, but the 1, and 3 of the 5, coincide with 3 of the 10 – leaving 12 distinct dots, 10 in the form of a pentagon, and 2 inside.

<span class="mw-page-title-main">Tetrahedral number</span>

A tetrahedral number, or triangular pyramidal number, is a figurate number that represents a pyramid with a triangular base and three sides, called a tetrahedron. The nth tetrahedral number, Ten, is the sum of the first n triangular numbers, that is,

An octagonal number is a figurate number that represents an octagon. The octagonal number for n is given by the formula 3n2 - 2n, with n > 0. The first few octagonal numbers are

<span class="mw-page-title-main">Square pyramidal number</span> Number of stacked spheres in a pyramid

In mathematics, a pyramid number, or square pyramidal number, is a natural number that counts the number of stacked spheres in a pyramid with a square base. The study of these numbers goes back to Archimedes and Fibonacci. They are part of a broader topic of figurate numbers representing the numbers of points forming regular patterns within different shapes.

A pronic number is a number that is the product of two consecutive integers, that is, a number of the form The study of these numbers dates back to Aristotle. They are also called oblong numbers, heteromecic numbers, or rectangular numbers; however, the term "rectangular number" has also been applied to the composite numbers.

<span class="mw-page-title-main">Centered triangular number</span> Centered figurate number that represents a triangle with a dot in the center

A centeredtriangular 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 centered polygonal numbers are a class of series of figurate numbers, each formed by a central dot, surrounded by polygonal layers of dots with a constant number of sides. Each side of a polygonal layer contains one more dot than each side in the previous layer; so starting from the second polygonal layer, each layer of a centered k-gonal number contains k more dots than the previous layer.

A decagonal number is a figurate number that extends the concept of triangular and square numbers to the decagon. However, unlike the triangular and square numbers, the patterns involved in the construction of decagonal numbers are not rotationally symmetrical. Specifically, the nth decagonal numbers counts the number of dots in a pattern of n nested decagons, all sharing a common corner, where the ith decagon in the pattern has sides made of i dots spaced one unit apart from each other. The n-th decagonal number is given by the following formula

A nonagonal number is a figurate number that extends the concept of triangular and square numbers to the nonagon. However, unlike the triangular and square numbers, the patterns involved in the construction of nonagonal numbers are not rotationally symmetrical. Specifically, the nth nonagonal number counts the number of dots in a pattern of n nested nonagons, all sharing a common corner, where the ith nonagon in the pattern has sides made of i dots spaced one unit apart from each other. The nonagonal number for n is given by the formula:

<span class="mw-page-title-main">Pentatope number</span>

A pentatope number is a number in the fifth cell of any row of Pascal's triangle starting with the 5-term row 1 4 6 4 1, either from left to right or from right to left.

<span class="mw-page-title-main">Centered decagonal number</span> Centered figurate number that represents a decagon with a dot in the center

A centered decagonal number is a centered figurate number that represents a decagon with a dot in the center and all other dots surrounding the center dot in successive decagonal layers. The centered decagonal number for n is given by the formula

<span class="mw-page-title-main">Pell number</span> Natural number used to approximate √2

In mathematics, the Pell numbers are an infinite sequence of integers, known since ancient times, that comprise the denominators of the closest rational approximations to the square root of 2. This sequence of approximations begins 1/1, 3/2, 7/5, 17/12, and 41/29, so the sequence of Pell numbers begins with 1, 2, 5, 12, and 29. The numerators of the same sequence of approximations are half the companion Pell numbers or Pell–Lucas numbers; these numbers form a second infinite sequence that begins with 2, 6, 14, 34, and 82.

<span class="mw-page-title-main">Pythagorean theorem</span> Relation between sides of a right triangle

In mathematics, the Pythagorean theorem, or Pythagoras' theorem, is a fundamental relation in Euclidean geometry among the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse is equal to the sum of the areas of the squares on the other two sides. This theorem can be written as an equation relating the lengths of the legs a, b and the hypotenuse c, often called the Pythagorean equation:

References