WIPIVERSE All articles

Square number

A square number, also called a perfect square, is an integer that is the product of an integer multiplied by itself. Formally, an integer n is a square number if there exists an integer k such that

$$ n = k^2. $$

Key properties

  • Non‑negative: All square numbers are greater than or equal to 0, because the square of any integer is non‑negative.
  • Parity: The square of an even integer is even; the square of an odd integer is odd. Consequently, the parity of a square number matches the parity of its root.
  • Modular restrictions: In modulo 4 arithmetic, a square number is congruent to 0 or 1 (i.e., $k^2 \equiv 0,1 \pmod{4}$).
  • Prime factorisation: A positive integer is a square number if and only if each prime in its prime factorisation occurs to an even exponent. For example, $36 = 2^2 \cdot 3^2$ is a square because the exponents 2 and 2 are even.

Sequence of square numbers

The sequence of non‑negative square numbers begins:

$$ 0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, \dots $$

Each term can be expressed as $n^2$ for $n = 0, 1, 2, 3, \dots$.

Geometric interpretation

Historically, the term “square” derives from the geometric notion that a square of side length k has area $k^2$. Hence, square numbers represent the areas of squares with integer side lengths.

Relation to other mathematical concepts

  • Square roots: The inverse operation to squaring; the square root of a square number is an integer.
  • Pythagorean triples: In integer right‑angled triangles, the squares of the legs and the hypotenuse satisfy $a^2 + b^2 = c^2$.
  • Quadratic forms: Square numbers appear as the simplest quadratic forms.
  • Number theory: Results such as Fermat’s theorem on sums of two squares and the Legendre three‑square theorem involve square numbers.

Applications

Square numbers arise in counting problems (e.g., number of ways to arrange objects in a square lattice), combinatorial geometry, and algebraic manipulations. They also serve as benchmarks in algorithmic complexity analyses (e.g., algorithms with $O(n^2)$ time).

Browse

More topics to explore

    Browse all articles