In addition we can say of the number 118 that it is even
118 is an even number, as it is divisible by 2 : 118/2 = 59
The factors for 118 are all the numbers between -118 and 118 , which divide 118 without leaving any remainder. Since 118 divided by -118 is an integer, -118 is a factor of 118 .
Since 118 divided by -118 is a whole number, -118 is a factor of 118
Since 118 divided by -59 is a whole number, -59 is a factor of 118
Since 118 divided by -2 is a whole number, -2 is a factor of 118
Since 118 divided by -1 is a whole number, -1 is a factor of 118
Multiples of 118 are all integers divisible by 118 , i.e. the remainder of the full division by 118 is zero. There are infinite multiples of 118. The smallest multiples of 118 are:
It is possible to determine using mathematical techniques whether an integer is prime or not.
for 118, the answer is: No, 118 is not a prime number.
To know the primality of an integer, we can use several algorithms. The most naive is to try all divisors below the number you want to know if it is prime (in our case 118). We can already eliminate even numbers bigger than 2 (then 4 , 6 , 8 ...). Besides, we can stop at the square root of the number in question (here 10.863 ). Historically, the Eratosthenes screen (which dates back to Antiquity) uses this technique relatively effectively.
More modern techniques include the Atkin screen, probabilistic tests, or the cyclotomic test.
Previous prime number: 113
Next prime number: 127