In mathematics, a square number, sometimes also called a perfect square, is an integer that is the square of an integer. For example, 25 is a square number, since it can be written as 5 × 5.