Difference between revisions of "Even integer"

(The final sentence was not well done. It was unclear, and the given function did not work for any values but nonnegative integers. I think I fixed it, but this is my first edit, and I am not sure.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
An '''even integer''' is any [[integer]] which is a [[multiple]] of <math>2.</math>  The even integers are <math>\ldots, -4, -2, 0, 2, 4, \ldots</math>; specifically, note that <math>0</math> is even. Every even integer can be written in the form <math>2k</math> for some unique integer <math>k</math>.  
 
An '''even integer''' is any [[integer]] which is a [[multiple]] of <math>2.</math>  The even integers are <math>\ldots, -4, -2, 0, 2, 4, \ldots</math>; specifically, note that <math>0</math> is even. Every even integer can be written in the form <math>2k</math> for some unique integer <math>k</math>.  
  
The sum and difference of any two even integers is even, and the product of any two even integers is not only even but is also [[divisible]] by <math>4.</math>  The sum of an even integer and an [[odd integer]] is odd.   
+
The sum and difference of any two integers with the same [[parity]] is even.
 +
The product of any two even integers is not only even but is also [[divisible]] by <math>4.</math>  The sum of an even integer and an [[odd integer]] is odd.   
  
 
Since every even integer is divisible by <math>2,</math> <math>2</math> is the only [[prime]] even integer.
 
Since every even integer is divisible by <math>2,</math> <math>2</math> is the only [[prime]] even integer.
 +
 +
The number of even integers are in the interval <math>(0, x)</math> is equal to <math>\left\lfloor\frac {|x|}{2}\right\rfloor+1</math>
  
 
{{stub}}
 
{{stub}}

Latest revision as of 15:45, 17 January 2023

An even integer is any integer which is a multiple of $2.$ The even integers are $\ldots, -4, -2, 0, 2, 4, \ldots$; specifically, note that $0$ is even. Every even integer can be written in the form $2k$ for some unique integer $k$.

The sum and difference of any two integers with the same parity is even. The product of any two even integers is not only even but is also divisible by $4.$ The sum of an even integer and an odd integer is odd.

Since every even integer is divisible by $2,$ $2$ is the only prime even integer.

The number of even integers are in the interval $(0, x)$ is equal to $\left\lfloor\frac {|x|}{2}\right\rfloor+1$

This article is a stub. Help us out by expanding it.