2 is of course an even number (note that two is the only even prime number).
Is 2 a perfect square number?
A number is a perfect square (or a square number) if its square root is an integer; that is to say, it is the product of an integer with itself. Here, the square root of 2 is about 1.414.
Thus, the square root of 2 is not an integer, and therefore 2 is not a square number.
What is the square number of 2?
The square of a number (here 2) is the result of the product of this number (2) by itself (i.e., 2 × 2); the square of 2 is sometimes called "raising 2 to the power 2", or "2 squared".
The square of 2 is 4 because 2 × 2 = 22 = 4.
As a consequence, 2 is the square root of 4.
What are the multiples of 2?
All even integers are multiples of 2. Indeed, a number is a multiple of 2 if and only if it is evenly divisible by 2, which corresponds exactly to the definition of even numbers. Therefore, there are infinitely many multiples of 2. The smallest multiples of 2 are:
- 0: indeed, 0 is divisible by any natural number, and it is thus a multiple of 2 too, since 0 × 2 = 0
- 2: indeed, 2 is a multiple of itself, since 2 is evenly divisible by 2 (we have 2 / 2 = 1, so the remainder of this division is indeed zero)
- 4 (which is also the square of 2)
0 is a single-digit number, because it is strictly less than 10; 0 is in fact itself a digit.
How to determine whether an integer is a prime number?
To determine the primality of a number, i.e., know whether it is a prime number, several algorithms can be used.
The most naive technique is to test all divisors strictly smaller to the number of which we want to determine the primality.
First, we can eliminate all even numbers greater than 2.
Then, we can stop this check when we reach the square root of the number of which we want to determine the primality.
Historically, the sieve of Eratosthenes (dating from the Greek mathematics) implements this technique in a relatively efficient manner.
More modern techniques include the sieve of Atkin, probabilistic algorithms, and the cyclotomic AKS test.
- Preceding numbers: 0, 1
- Following numbers: 3, 4, 5, 6, 7…
- Preceding prime numbers: none
- Following prime numbers: 3, 5, 7, 11, 13…