What is the definition of a square number in maths?
In mathematics, a square number, sometimes also called a perfect square, is an integer that can be written as the square of some other integer; in other words, it is the product of some integer with itself. So, for example, 9 is a square number, since it can be written as 3 × 3. Square numbers are non-negative. Another way of saying that a (non-negative) number is a square number, is that its square root is again an integer. For example, √9 = 3, so 9 is a square number. A positive integer that has no perfect square divisors except 1 is called square-free. The usual notation for the formula for the square of a number n is not the product n × n, but the equivalent exponentiation n2, usually pronounced as “n squared”. The concept of square can be extended to some other number systems. If rational numbers are included, then a square is the ratio of two square integers, and, conversely, the ratio of two square integers is a square (e.g., 4/9 = (2/3)2). There are square numbers up to and inc